Skip to content

A quick and dirty Streamlit-based frontend to play around with Weaviate

License

Notifications You must be signed in to change notification settings

qaware/hitchhiker-chat-ui

 
 

Repository files navigation

Alt text

Local Setup

With docker

Build the container:

docker build -t hitchhiker . 

Run the container:

  • Ensure that a weaviate cluster is accessible at localhost:8080 (with a GRPC port on 50051)
docker run -e WEAVIATE_API_KEY='secr3tk3y' -e WEAVIATE_URL='docker.host.internal' -e OPENAI_KEY='<your-open-ai-key-here>' -it --rm -p 8501:8501 --name hitchhiker hitchhiker --network=host

Building the image for running in GKE

  • see './build-and-push.sh'

Without Docker

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

(Assuming you have an accessible Weaviate cluster and have configured your WEAVIATE_URL, WEAVIATE_API_KEY, and OPENAI_KEY env vars accordingly):

python initialize_data.py
streamlit run streamlit_app.py

About

A quick and dirty Streamlit-based frontend to play around with Weaviate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.2%
  • Shell 4.4%
  • Dockerfile 3.4%