Find answers from the community

Updated 11 months ago

Newbie question: Why is it necessary to

Newbie question: Why is it necessary to have both a "Document store", as well as a "Vector store"? When I look at the data contained inside of my vector store, it looks like it contains all of the node content that are also stored inside of the document store.
W
D
L
5 comments
It is not necessary to have both! Docstore gives you the clean view of nodes present inside your index.
Thanks! And why would one want a "clean view"? To e.g. display the document back to the user?
Not necessarily but could be used by people to filter nodes for some operation like finding nodes with similar metadata and other operations
There are also a few features that rely on having quick access to all/specific documents (bm25, auto-merging retriever, etc.), where a docstore is helpful.
The docstore can also act as a document management layer on top of your vector db, keeping track of data for upserts
Add a reply
Sign up and join the conversation on Discord