runtime error
Exit code: 1. Reason: retriever = get_retriver_from_docs(docs) File "/home/user/app/tools.py", line 176, in get_retriver_from_docs vectorstore = Chroma.from_documents(documents=splits, embedding=OpenAIEmbeddings()) File "/usr/local/lib/python3.10/site-packages/langchain_chroma/vectorstores.py", line 1128, in from_documents return cls.from_texts( File "/usr/local/lib/python3.10/site-packages/langchain_chroma/vectorstores.py", line 1089, in from_texts chroma_collection.add_texts(texts=texts, metadatas=metadatas, ids=ids) File "/usr/local/lib/python3.10/site-packages/langchain_chroma/vectorstores.py", line 508, in add_texts embeddings = self._embedding_function.embed_documents(texts) File "/usr/local/lib/python3.10/site-packages/langchain_openai/embeddings/base.py", line 616, in embed_documents return self._get_len_safe_embeddings(texts, engine=engine) File "/usr/local/lib/python3.10/site-packages/langchain_openai/embeddings/base.py", line 514, in _get_len_safe_embeddings response = self.client.create( File "/usr/local/lib/python3.10/site-packages/openai/resources/embeddings.py", line 114, in create return self._post( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1260, in post return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)) File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 937, in request return self._request( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1041, in _request raise self._make_status_error_from_response(err.response) from None openai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: sk-proj-********************************************************************************************************************************************************6skA. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}
Container logs:
Fetching error logs...