Find answers from the community

Updated 8 months ago

Init Query Engine -> User Uploads few

At a glance

The post describes a workflow where a user initializes a query engine, uploads documents, and updates a vector store index. However, the answer returned by the query does not have access to the latest index updates. A community member suggests that if the indexes are stored locally and loaded, then a new query_engine instance needs to be created after adding new documents. If a third-party vector store is used, this step may not be necessary.

Init Query Engine -> User Uploads few docs -> VectorStoreIndex is updated -> Query -> Answer (Answer does not have access to latest index updates)
W
1 comment
Yeah if you are storing the indexes locally and loading them. Then once you add new docs you'll have to create query_engine instance again.

If you were using any third party vector store then you dont need to do this.
Add a reply
Sign up and join the conversation on Discord