Find answers from the community

Updated last year

i am going through this tutorial (thank

i am going through this tutorial (thank you!). i loaded csv file but when trying to create index with
Plain Text
index = VectorStoreIndex.from_documents(
    documents, storage_context=storage_context
)

i keep getting this error : AttributeError: 'Document' object has no attribute 'get_doc_id'
any advice would be much appreciated! thank you!
https://docs.llamaindex.ai/en/stable/examples/vector_stores/Timescalevector.html#load-documents-and-metadata-into-timescalevector-vectorstore
b
1 comment
Make sure you're using a LlamaIndex Document and Document(text="...")
Add a reply
Sign up and join the conversation on Discord