https://github.com/deepset-ai/hayhooks-open-webui-docker-compose

A ready-to-use docker-compose with Hayhooks and open-webui

https://github.com/deepset-ai/hayhooks-open-webui-docker-compose

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.9%) to scientific vocabulary
Last synced: 5 months ago · JSON representation

Repository

A ready-to-use docker-compose with Hayhooks and open-webui

Basic Info
  • Host: GitHub
  • Owner: deepset-ai
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 6.84 KB
Statistics
  • Stars: 10
  • Watchers: 2
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Created 12 months ago · Last pushed 8 months ago
Metadata Files
Readme License

README.md

Hayhooks with Open WebUI - Docker Compose Setup

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 chatwithwebsite pipeline.

That folder will be mounted in the /pipelines directory of Hayhooks service.

Requirements

  • Docker and Docker Compose installed on your system
  • Git (to clone this repository)
  • An OPENAI_API_KEY environment variable set (needed for the chat_with_website pipeline)

Run

Clone the repository:

bash git clone https://github.com/deepset-ai/hayhooks-open-webui-docker-compose.git

Run the docker compose file:

bash docker compose up --build

And that's it! 😉

You can now access to Hayhooks on http://localhost:1416 and to Open WebUI on http://localhost:3000. The chat_with_website_streaming pipeline will be available on Open WebUI.

Note that open-webui may require some time to start up.

Tear down

To tear down the environment, run:

bash 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 http://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.

Owner

  • Name: deepset
  • Login: deepset-ai
  • Kind: organization
  • Email: hello@deepset.ai
  • Location: Berlin, Germany

Building enterprise search systems powered by latest NLP & open-source.

GitHub Events

Total
  • Issues event: 2
  • Watch event: 9
  • Issue comment event: 1
  • Member event: 1
  • Pull request event: 1
  • Pull request review event: 2
  • Fork event: 3
  • Create event: 2
Last Year
  • Issues event: 2
  • Watch event: 9
  • Issue comment event: 1
  • Member event: 1
  • Pull request event: 1
  • Pull request review event: 2
  • Fork event: 3
  • Create event: 2

Issues and Pull Requests

Last synced: 6 months ago


Dependencies

Dockerfile docker
  • deepset/hayhooks main build
docker-compose.yml docker
  • ghcr.io/open-webui/open-webui ${WEBUI_DOCKER_TAG-main}