Replies: 1 comment 6 replies
-
Hey @ali-issa9, the Haystack REST API use Pipeline YAML files to load a pipeline. Have you tried to modify your Pipeline YAML to load your existing |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to create a Haystack rest API using this tutorial. And they were using ElasticSearch as their document store. i have already downloaded
the project as they mentioned using docker. But I don't know how can I instance of FAISS with haystack rest API.
I created an instance of FAISS using these two lines of code :
haystack.document_stores import FAISSDocumentStore
document_store = FAISSDocumentStore(faiss_index_factory_str="Flat",similarity='cosine')
after writing the data inside FAISS, I saved them using this code :
document_store.save("Demo")
does anyone know how we can use this saved instance with haystack rest API?
thank you.
Beta Was this translation helpful? Give feedback.
All reactions