runtime error

Exit code: 1. Reason: /home/user/app/Rag_conversation.py:31: LangChainDeprecationWarning: The class `Chroma` was deprecated in LangChain 0.2.9 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-chroma package and should be used instead. To use it run `pip install -U :class:`~langchain-chroma` and import as `from :class:`~langchain_chroma import Chroma``. db = Chroma(persist_directory=persistent_directory, embedding_function=embeddings) Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> from Rag_conversation import rag_chain # Now import the RAG pipeline File "/home/user/app/Rag_conversation.py", line 47, in <module> llm = ChatOpenAI(model="gpt-4o",temperature=0.2) File "/usr/local/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 125, in __init__ super().__init__(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 253, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) File "/usr/local/lib/python3.10/site-packages/pydantic/_internal/_mock_val_ser.py", line 100, in __getattr__ raise PydanticUserError(self._error_message, code=self._code) pydantic.errors.PydanticUserError: `ChatOpenAI` is not fully defined; you should define `BaseCache`, then call `ChatOpenAI.model_rebuild()`. For further information visit https://errors.pydantic.dev/2.11/u/class-not-fully-defined

Container logs:

Fetching error logs...