Find answers from the community

Updated last year

Storage

Might be a dumb question, but not entirely sure:

Does using a vector_store persist the index automatically via the StorageContext? In my case, I'm using ChromaDB. Do I need to persist indexes to disk instead?
L
c
8 comments
Whats the right way to create an index from a vector_store instead of from documents?
since in a separate process we loaded the documents and saved them automatically to the vector_store
yea, the notebook has an example of that πŸ˜‰

Basically, setup the vector_store object to point to the existing vector store

Then, index = VectorStoreIndex.from_vector_store(vector_store)
ah gotcha, and when we load documents into the vector_store its automatically loaded?
sorry, what did you mean by that?
automatically saved, my apologies
Yea it is automatically saved when you load documents πŸ‘
Add a reply
Sign up and join the conversation on Discord