2025-11-04 11:36:53 +00:00
..
2025-01-21 09:11:18 +00:00
2025-01-21 09:11:18 +00:00
...
2025-11-04 11:36:53 +00:00
2025-01-21 09:11:18 +00:00
2025-01-21 09:11:18 +00:00
2025-01-21 09:11:18 +00:00
2025-01-21 09:11:18 +00:00

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