runtime error
was deprecated in langchain-community 0.1.0 and will be removed in 0.2.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it run `pip install -U langchain-openai` and import as `from langchain_openai import OpenAIEmbeddings`. warn_deprecated( Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 81, in __init__ import chromadb File "/usr/local/lib/python3.10/site-packages/chromadb/__init__.py", line 1, in <module> import chromadb.config File "/usr/local/lib/python3.10/site-packages/chromadb/config.py", line 1, in <module> from pydantic import BaseSettings, Field File "/usr/local/lib/python3.10/site-packages/pydantic/__init__.py", line 386, in __getattr__ return _getattr_migration(attr_name) File "/usr/local/lib/python3.10/site-packages/pydantic/_migration.py", line 296, in wrapper raise PydanticImportError( pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.7/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.7/u/import-error During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 42, in <module> vectorstore = Chroma.from_documents(documents=documents, embedding=embeddings) File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 778, in from_documents return cls.from_texts( File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 714, in from_texts chroma_collection = cls( File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 84, in __init__ raise ImportError( ImportError: Could not import chromadb python package. Please install it with `pip install chromadb`.
Container logs:
Fetching error logs...