runtime error

Exit code: 1. Reason: rWarning: Importing OpenAI from langchain root module is no longer supported. Please use langchain_community.llms.OpenAI instead. warnings.warn( /home/user/app/app.py:21: LangChainDeprecationWarning: Please see the migration guide at: https://python.langchain.com/docs/versions/migrating_memory/ memory = ConversationBufferMemory(return_messages=True, memory_key="chat_history") Traceback (most recent call last): File "/home/user/app/app.py", line 146, in <module> vector_store = create_vector_store(texts) File "/home/user/app/app.py", line 135, in create_vector_store vector_store = FAISS.from_texts(texts, embeddings) File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/faiss.py", line 1041, in from_texts embeddings = embedding.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 1278, 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 955, in request return self._request( File "/usr/local/lib/python3.10/site-packages/openai/_base_client.py", line 1059, 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-********************************************7gWE. 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...