Loading custom fine-tuned model in REST-API demo #3544
-
Dear Community, Recently I was working with a REST-API demo app. Also, a follow-up question, how can I delete the existing "Capital and Countries" data from Document Store and set up a new Document store? Thank you very much in advance, any help would be highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Renuk9390, I believe the problem you have is about the
After these changes, your For the second part of your question, you need to again make changes in ...
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:7.9.2"
... I hope these answers help, feel free to ask if you have any further questions 🙌 As a side note, we are working on a tutorial on "Haystack with REST API" that might be interesting for you 👀 Btw, I am not sure if you're a member but we also have discord if you'd like to see more questions/discussions from the community 🚀 |
Beta Was this translation helpful? Give feedback.
Hi @Renuk9390,
I believe the problem you have is about the
docker-compose.yml
file. Currently, it is not picking up the changes from your updatedpipelines.haystack-pipeline.yml
file but uses the image provided in the file asdeepset/haystack:cpu-main
. There are specific changes that you need to make to change this behavior:volumes
with the local path to thepipelines.haystack-pipeline.yml
file:PIPELINE_YAML_PATH
value as/home/user/rest_api/pipeline/pipelines.haystack-pipeline.yml
... haystack-api:…