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
{{ message }}
Repository navigation
How do I save the indexing to a folder, so that I can use it later for retrieval. #93
If you're using a vector store like FAISS or Chroma under the hood, you usually need to call their specific save method, e.g. faiss.write_index or Chroma.persist().
RAG frameworks don’t always expose a RAG.save() by default — you typically have to access the index object directly and save it manually to a folder path.
Let me know which stack you’re using (e.g. LangChain, Haystack, custom), I might be able to point you to the right method.
Activity
onestardao commentedon Aug 8, 2025
If you're using a vector store like FAISS or Chroma under the hood, you usually need to call their specific save method, e.g. faiss.write_index or Chroma.persist().
RAG frameworks don’t always expose a RAG.save() by default — you typically have to access the index object directly and save it manually to a folder path.
Let me know which stack you’re using (e.g. LangChain, Haystack, custom), I might be able to point you to the right method.
lea-33 commentedon Aug 20, 2025
Hi @diya-xfactr ,
I am working a lot with the package and as far as I know, the index is saved automatically.
For indexing, you are using the function:
Here, the string "index_name" will be the name of the folder.
E.g. for
index_name = "Index", you could find the index data under .byaldi/Index/Then you could load the index again using the index_name (e.g using the RAG.from_index() function).
I hope this could help!
Best regards,
Lea