You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains a Docker Compose configuration to run Haystack pipelines with Hayhooks using also Open WebUI for a complete chat interface experience.
In pipelines folder there's a ready-to-use wrapper for chat_with_website pipeline.
That folder will be mounted in the /pipelines directory of Hayhooks service.
You can now access to Hayhooks on https://localhost:1416 and to Open WebUI on https://localhost:3000. The chat_with_website_streaming pipeline will be available on Open WebUI.
Note that open-webuimay require some time to start up.
Tear down
To tear down the environment, run:
docker compose down
Additional notes
Dockerfile
The Dockerfile is based on the deepset/hayhooks:main image.
It installs trafilatura as a dependency, needed by the chat_with_website pipeline.
docker-compose.yml
The docker-compose.yml file mounts the pipelines folder in the /pipelines directory of Hayhooks service.
The OPENAI_API_KEY environment variable is passed to Hayhooks service.
About open-webui settings:
The OPENAI_API_BASE_URL environment variable is set to https://hayhooks:1416, pointing to Hayhooks service.
The OPENAI_API_KEY environment variable is set to a dummy value ("dummy"), as it's not needed for Hayhooks service.
The WEBUI_AUTH environment variable is set to false, as we don't need authentication for this demo.
The ENABLE_TAGS_GENERATION and ENABLE_EVALUATION_ARENA_MODELS environment variables are set to false, as they are not needed for Hayhooks service.
About
A ready-to-use docker-compose with Hayhooks and open-webui