Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not to use default documents in Haystack Rest Api #1853

Closed
arater opened this issue Dec 7, 2021 · 1 comment
Closed

Not to use default documents in Haystack Rest Api #1853

arater opened this issue Dec 7, 2021 · 1 comment

Comments

@arater
Copy link

arater commented Dec 7, 2021

How can I disable Haystack rest API default country data from Wikipedia?

I upload my file and when I ask question if model founds better result in other documents it brings its result but these files are already uploaded haystack country Wikipedia files. And I do not want that model uses these files. How can I disable these files when I run docker?

@julian-risch
Copy link
Member

Hi @arater I am assuming your running the docker demo as described here: https://github.com/deepset-ai/haystack#beginner-quick-demo?
One way to change the demo on your side is to use an empty document store by changing the docker compose file here:

image: "deepset/elasticsearch-countries-and-capitals"

If you replace that line with image: "elasticsearch:7.9.2 you will have an empty document store and can start adding your own documents. I hope this answers your question. If not, I think, I will need some more information to be able to help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants