Find answers from the community

Updated 11 months ago

Storage

At a glance

The community member is asking how to store indices in a VectorStore so they can build a RecursiveRetriever after loading it from persistent storage. They are finding it difficult to populate the node_dict parameter when creating the RecursiveRetriever instance.

A community member responds that the indices cannot be stored in a vector store unless they are embedded. They suggest the community member could serialize or pickle the indices, or use a docstore instead.

How can I store the indices in a VectorStore such that I will be able to build a RecursiveRetriever after loading it from a persistent storage? Currently I am finding it difficult to populate the node_dict parameter while creating the instance of RecursiveRetriever
L
1 comment
You can't store them all in a vector store unless they are embedded

You can serialize or pickle them, or use a docstore
Add a reply
Sign up and join the conversation on Discord