You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched both the documentation and discord for an answer.
Question
When using the RecursiveRetriever building block reference retrieval, the node_dict passed can be very time-consuming when the index is large vector_retriever_chunk = index.as_retriever(**vir_args) all_nodes = index.docstore.docs.values() all_nodes_dict = {n.node_id: n for n in all_nodes} retriever_chunk = RecursiveRetriever( "vector", retriever_dict={"vector": vector_retriever_chunk}, node_dict=all_nodes_dict, verbose=True, )
Among them, index is loaded from the local index using load_index_from_storage(storage_context)