runtime error
Exit code: 1. Reason: ma from langchain.vectorstores is deprecated. Please replace deprecated imports: >> from langchain.vectorstores import Chroma with new imports of: >> from langchain_community.vectorstores import Chroma You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.vectorstores import Chroma /home/user/app/agents.py:10: LangChainDeprecationWarning: Importing HuggingFaceEmbeddings from langchain.embeddings is deprecated. Please replace deprecated imports: >> from langchain.embeddings import HuggingFaceEmbeddings with new imports of: >> from langchain_community.embeddings import HuggingFaceEmbeddings You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.embeddings import HuggingFaceEmbeddings /home/user/app/agents.py:50: LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-huggingface package and should be used instead. To use it run `pip install -U :class:`~langchain-huggingface` and import as `from :class:`~langchain_huggingface import HuggingFaceEmbeddings``. embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2") ERROR:agents:Error initializing vector store: Could not import sentence_transformers python package. Please install it with `pip install sentence-transformers`. Traceback (most recent call last): File "/home/user/app/app.py", line 3, in <module> from workflow import workflow File "/home/user/app/workflow.py", line 260, in <module> workflow = create_workflow() File "/home/user/app/workflow.py", line 25, in create_workflow risk_agent = RiskScoringAgent() File "/home/user/app/agents.py", line 337, in __init__ self.vector_store = Chroma(embedding_function=embeddings) NameError: name 'embeddings' is not defined
Container logs:
Fetching error logs...