Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 946 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 946 Bytes

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