You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running the command
rasa init --template tutorial
2024-08-28 08:00:20 INFO openai - error_code=invalid_api_key error_message='Incorrect API key provided: your_opehere. You can find your API key at https://platform.openai.com/account/api-keys.' error_param=None error_type=invalid_request_error message='OpenAI API error received' stream_error=False
2024-08-28 08:00:21 ERROR rasa.dialogue_understanding.generator.flow_retrieval - [error ] Failed to populate the FAISS store with the provided flows. error=AuthenticationError(message='Incorrect API key provided: your_opehere. You can find your API key at https://platform.openai.com/account/api-keys.', http_status=401, request_id=None) error_type=AuthenticationError event_key=flow_retrieval.populate_vector_store.not_populated
2024-08-28 08:00:21 ERROR rasa.dialogue_understanding.generator.llm_based_command_generator - [error ] Flow retrieval store isinaccessible. error=AuthenticationError(message='Incorrect API key provided: your_ope************here. You can find your API key at https://platform.openai.com/account/api-keys.', http_status=401, request_id=None) event_key=llm_based_command_generator.train.failed
Traceback (most recent call last):
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/graph.py", line 538, in call
output = self._fn(self._component, **run_kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/dialogue_understanding/generator/llm_based_command_generator.py", line 173, in train
self.flow_retrieval.populate(flows.user_flows, domain)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/dialogue_understanding/generator/flow_retrieval.py", line 204, in populate
self.vector_store = FAISS.from_documents(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/schema/vectorstore.py", line 510, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/vectorstores/faiss.py", line 911, in from_texts
embeddings = embedding.embed_documents(texts)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 488, in embed_documents
return self._get_len_safe_embeddings(texts, engine=self.deployment)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 374, in _get_len_safe_embeddings
response = embed_with_retry(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 107, in embed_with_retry
return _embed_with_retry(*kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 336, in wrapped_f
return copy(f, args, kw)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 475, in call
do = self.iter(retry_state=retry_state)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 376, in iter
result = action(retry_state)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 398, in
self._add_action_func(lambda rs: rs.outcome.result())
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 478, in call
result = fn(args, kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 104, in _embed_with_retry
response = embeddings.client.create(kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_resources/embedding.py", line 33, in create
response = super().create(args, kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 155, in create
response, _, api_key = requestor.request(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_requestor.py", line 299, in request
resp, got_stream = self._interpret_response(result, stream)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_requestor.py", line 710, in _interpret_response
self._interpret_response_line(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_requestor.py", line 775, in _interpret_response_line
raise self.handle_error_response(
openai.error.AuthenticationError: Incorrect API key provided: your_opehere. You can find your API key at https://platform.openai.com/account/api-keys.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspaces/codespaces-quickstart/.venv/bin/rasa", line 8, in
sys.exit(main())
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/main.py", line 133, in main
cmdline_arguments.func(cmdline_arguments)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/cli/scaffold.py", line 269, in run
init_project(args, path)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/cli/scaffold.py", line 153, in init_project
print_train_or_instructions(args)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/cli/scaffold.py", line 87, in print_train_or_instructions
training_result = rasa.train(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/api.py", line 105, in train
return asyncio.run(
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/model_training.py", line 246, in train
return await _train_graph(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/model_training.py", line 337, in _train_graph
await trainer.train(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/training/graph_trainer.py", line 106, in train
await graph_runner.run(inputs={PLACEHOLDER_IMPORTER: importer})
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 103, in run
dask_result = await execute_dask_graph(run_graph, run_targets)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 248, in execute_dask_graph
await fire_task()
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 242, in fire_task
task_result = await _execute_task(dsk[key], data)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 176, in _execute_task
return await func(*awaited_args)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/graph.py", line 545, in call
raise GraphComponentException(
rasa.engine.exceptions.GraphComponentException: Error running graph component for node train_SingleStepLLMCommandGenerator0.
The text was updated successfully, but these errors were encountered:
While running the command
rasa init --template tutorial
2024-08-28 08:00:20 INFO openai - error_code=invalid_api_key error_message='Incorrect API key provided: your_opehere. You can find your API key at https://platform.openai.com/account/api-keys.' error_param=None error_type=invalid_request_error message='OpenAI API error received' stream_error=False
2024-08-28 08:00:21 ERROR rasa.dialogue_understanding.generator.flow_retrieval - [error ] Failed to populate the FAISS store with the provided flows. error=AuthenticationError(message='Incorrect API key provided: your_opehere. You can find your API key at https://platform.openai.com/account/api-keys.', http_status=401, request_id=None) error_type=AuthenticationError event_key=flow_retrieval.populate_vector_store.not_populated
2024-08-28 08:00:21 ERROR rasa.dialogue_understanding.generator.llm_based_command_generator - [error ] Flow retrieval store isinaccessible. error=AuthenticationError(message='Incorrect API key provided: your_ope************here. You can find your API key at https://platform.openai.com/account/api-keys.', http_status=401, request_id=None) event_key=llm_based_command_generator.train.failed
Traceback (most recent call last):
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/graph.py", line 538, in call
output = self._fn(self._component, **run_kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/dialogue_understanding/generator/llm_based_command_generator.py", line 173, in train
self.flow_retrieval.populate(flows.user_flows, domain)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/dialogue_understanding/generator/flow_retrieval.py", line 204, in populate
self.vector_store = FAISS.from_documents(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/schema/vectorstore.py", line 510, in from_documents
return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/vectorstores/faiss.py", line 911, in from_texts
embeddings = embedding.embed_documents(texts)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 488, in embed_documents
return self._get_len_safe_embeddings(texts, engine=self.deployment)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 374, in _get_len_safe_embeddings
response = embed_with_retry(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 107, in embed_with_retry
return _embed_with_retry(*kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 336, in wrapped_f
return copy(f, args, kw)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 475, in call
do = self.iter(retry_state=retry_state)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 376, in iter
result = action(retry_state)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 398, in
self._add_action_func(lambda rs: rs.outcome.result())
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 451, in result
return self.__get_result()
File "/usr/local/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/tenacity/init.py", line 478, in call
result = fn(args, kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 104, in _embed_with_retry
response = embeddings.client.create(kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_resources/embedding.py", line 33, in create
response = super().create(args, kwargs)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 155, in create
response, _, api_key = requestor.request(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_requestor.py", line 299, in request
resp, got_stream = self._interpret_response(result, stream)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_requestor.py", line 710, in _interpret_response
self._interpret_response_line(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/openai/api_requestor.py", line 775, in _interpret_response_line
raise self.handle_error_response(
openai.error.AuthenticationError: Incorrect API key provided: your_opehere. You can find your API key at https://platform.openai.com/account/api-keys.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspaces/codespaces-quickstart/.venv/bin/rasa", line 8, in
sys.exit(main())
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/main.py", line 133, in main
cmdline_arguments.func(cmdline_arguments)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/cli/scaffold.py", line 269, in run
init_project(args, path)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/cli/scaffold.py", line 153, in init_project
print_train_or_instructions(args)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/cli/scaffold.py", line 87, in print_train_or_instructions
training_result = rasa.train(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/api.py", line 105, in train
return asyncio.run(
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/model_training.py", line 246, in train
return await _train_graph(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/model_training.py", line 337, in _train_graph
await trainer.train(
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/training/graph_trainer.py", line 106, in train
await graph_runner.run(inputs={PLACEHOLDER_IMPORTER: importer})
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 103, in run
dask_result = await execute_dask_graph(run_graph, run_targets)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 248, in execute_dask_graph
await fire_task()
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 242, in fire_task
task_result = await _execute_task(dsk[key], data)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/runner/dask.py", line 176, in _execute_task
return await func(*awaited_args)
File "/workspaces/codespaces-quickstart/.venv/lib/python3.10/site-packages/rasa/engine/graph.py", line 545, in call
raise GraphComponentException(
rasa.engine.exceptions.GraphComponentException: Error running graph component for node train_SingleStepLLMCommandGenerator0.
The text was updated successfully, but these errors were encountered: