runtime error

0%| | 0/5 [00:00<?, ?it/s] 40%|β–ˆβ–ˆβ–ˆβ–ˆ | 2/5 [00:01<00:01, 1.65it/s] 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 4/5 [00:02<00:00, 1.33it/s] 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5/5 [00:03<00:00, 1.35it/s] Number of tokens - Average : 237 Number of tokens - 25% percentile : 198 Number of tokens - 50% percentile : 275 Number of tokens - 75% percentile : 298 embedding model selected Traceback (most recent call last): File "/home/user/app/app.py", line 277, in <module> vector_store_HF = create_vectorstore( File "/home/user/app/app.py", line 247, in create_vectorstore vector_store = Chroma.from_documents( File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 790, in from_documents return cls.from_texts( File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 748, in from_texts chroma_collection.add_texts( File "/usr/local/lib/python3.10/site-packages/langchain_community/vectorstores/chroma.py", line 294, 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 294, in <listcomp> [embeddings[idx] for idx in non_empty_ids] if embeddings else None KeyError: 0

Container logs:

Fetching error logs...