Replies: 2 comments 2 replies
-
Hi @mondoduk, Thanks for your question. I am trying to understand your requirement and I want to confirm my understanding with you. I am assuming you already looked at FAISSDocumentStore documentation If I understand you correctly then,
Am I understanding this correctly? Although I don't think you can use your private SQL dataset with FAISSDocumentStore just to create a FAISS Index yet, I think I have a workaround for you :) I will talk to the team, confirm it, and then post it here. I will also mention this use-case and will try to see if we can prioritize supporting this for coming Haystack releases. A question:
|
Beta Was this translation helpful? Give feedback.
-
DocumentStoreAs you can read in the docs, you can think of the DocumentStore as a database that stores your texts and meta data and provides them to the Retriever at query time. FAISSDocumentStore
I think this internal structure of Integration with your dataYou can't directly use your private SQL database in the Instead, I would consider the following steps (similar to this tutorial):
|
Beta Was this translation helpful? Give feedback.
-
I have a large private SQL database (PostgreSQL) with text entries in it. I want to create a best-practices search engine to query these entries. I have been looking into the haystack FAISS document store (https://github.com/deepset-ai/haystack/blob/main/haystack/document_stores/faiss.py).
I am confused on how to put FAISS indexes into my private SQL database, using a FAISSDocumentStore. I provide my SQL database url in FAISSDocumentStore. But I don't know what do do next.
How do I select a table name and column to use with FAISSDocumentStore?
I only want to store FAISS indexes (not data - this would be redundant).
Beta Was this translation helpful? Give feedback.
All reactions