Find answers from the community

Home
Members
shawn.rb
s
shawn.rb
Offline, last seen 3 months ago
Joined September 25, 2024
s
shawn.rb
·

Hi!

Hi!
I get an error when loading vectors from chromadb on disk:

Plain Text
Traceback (most recent call last):
  File "/home/shawn/llamaindex/2_read_documents_from_db.py", line 21, in <module>
    index = VectorStoreIndex.from_documents(
  File "/home/shawn/llamaindex/venv/lib/python3.10/site-packages/llama_index/core/indices/base.py", line 136, in from_documents
    docstore.set_document_hash(doc.get_doc_id(), doc.hash)
AttributeError: 'tuple' object has no attribute 'get_doc_id'


I followed the examples from this doc: https://docs.llamaindex.ai/en/stable/understanding/storing/storing.html
Code and versions in thread 🧵
5 comments
s
L