-
I have FAISS vector database and I am using those vector databases for Query engine. However, I like to use RecursiveRetriever in 'RAGStringQueryEngine'. While I am creating RecursiveRetriever, program is asking 'node_dict' and I am not sure how I get from 'FAISS Vector database. Please help. The way I import my FAISS Vector DB is like this below: The RecursiveRetriever is looking below code, where I have no 'node_dict' from my vector import.
The reference notebook I am following to build RecursiveRetriever is below: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
To import FAISS vectors into
This process ensures that you extract the |
Beta Was this translation helpful? Give feedback.
-
@dosu Thank you... it did work. I used |
Beta Was this translation helpful? Give feedback.
Given the structure of your
index_store.json
file, you can extract thenode_dict
as follows:Load your FAISS index:
Extract the
node_dict
from theindex_store.json
file:Create the
RecursiveRetriever
with thenode_dict
: