Start postgres with pgvector
docker-compose up -d
Then create a new db called "rag", and run this SQL:
CREATE EXTENSION vector;
Finally run the content of db.sql.
Run backend
conda activate llm-api
python -m uvicorn backend:app --host 0.0.0.0 --reload --reload-include config.yml
Run frontend
python frontend.py