Using the Haystack Streamlit UI with FAISSDocumentStore instead of Elasticsearch #3125
Unanswered
shreyanssethi
asked this question in
Questions
Replies: 1 comment
-
Hey @shreyanssethi can you share your docker-compose.yml file? Just paste it here using code blocks. |
Beta Was this translation helpful? Give feedback.
0 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.
-
I was wondering what changes I would need to make to the code so that when I use docker-compose to launch the UI, it is relying on a FAISS Document Store instead of an ElasticSearch one.
I have already changed:
PIPELINE_YAML_PATH environment variable in
/haystack/rest_api/config.py
to a different yaml file which uses a FAISS Document store instead of an Elasticsearch oneThe
haystack/docker-compose.yml file
was changed so that the haystack-api depends on a faissdocumentstore, which is defined as a separate service with a defined docker image (https://hub.docker.com/r/daangn/faiss-server)Uncommented this out in the
haystack/docker-compose.yml
file so that the custom yaml file for the new pipeline can be loaded in:Beta Was this translation helpful? Give feedback.
All reactions