Find answers from the community

Updated 3 months ago

Were you able to narrow down any

Were you able to narrow down any strategies for creating the nodes_dict that is all_nodes_dict = {n.node_id: n for n in all_nodes} in production? I am stuck there where I want to pass this to recursive retriever from an existing vector store (which was already loaded with tons of documents). Even if figure this out, I am still worried about the retriever speed/performance
L
3 comments
Instead of a recursive retriever, just use index nodes that point to other nodes πŸ‘€

Thats exactly what this notebook is doing for example
https://github.com/run-llama/llama_parse/blob/main/examples/demo_advanced.ipynb
Basically if index_node.obj points to another text node (or anything serializable), it will be serialized into your vector db
and used recursively during retrieval automatically
Add a reply
Sign up and join the conversation on Discord