runtime error
Exit code: 1. Reason: \\u5efa\\u7bc9\\u80fd\\u6548\\t\\u81ea111\\u5e747\\u67081\\u65e5\\nG-3 2050\\u96f6\\u78b3\\u76ee\\u6a19\\t\\u81ea2030\\u5e74"}')] Traceback (most recent call last): File "/home/user/app/app.py", line 107, in <module> vectorstore = Chroma.from_documents(documents=all_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 588, 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 483, in _get_len_safe_embeddings response = self.client.create( File "/usr/local/lib/python3.10/site-packages/openai/resources/embeddings.py", line 124, in create return self._post( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1277, 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 954, in request return self._request( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1058, 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-********************************************eHXZ. 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...