Find answers from the community

Updated 8 months ago

Duplication

hey guys, Im new to llamaindex. I have a question.
I already created a vectorstore with deeplake and pushed data to it remotely.
But whenever I run my code again, it pushes data to deeplake vectorstore again.
I don't know how to fix it, how to load vectorstore from remote vectordatabase without recreating it?
Attachment
image.png
W
p
2 comments
I think you are connecting it something like this;
index = VectorStoreIndex.from_documents(documents, storage_contrxt)

This will again add the document into your index.

You can connect without inserting again in two ways:

Plain Text
1. index = VectorStoreIndex.from_documents([], storage_contrxt)

2. index = VectorStoreIndex.from_vector_store(vector_store=vector_store)
Add a reply
Sign up and join the conversation on Discord