runtime error

/usr/local/lib/python3.10/site-packages/langchain/vectorstores/__init__.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead: `from langchain_community.vectorstores import Chroma`. To install langchain-community run `pip install -U langchain-community`. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 23, in <module> vectordb = Chroma.from_documents( 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 736, in from_texts chroma_collection.add_texts( File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 293, in add_texts [embeddings[idx] for idx in non_empty_ids] if embeddings else None File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 293, in <listcomp> [embeddings[idx] for idx in non_empty_ids] if embeddings else None KeyError: 0

Container logs:

Fetching error logs...