Getting Started
- Configure
.env
file based on section below -
Setup pgvector database:
- Run an existing setup, or,
- Use main
docker-compose.yaml
:docker compose up
- Run an existing PSQL/PGVector setup, or,
- Docker:
docker compose up
(also starts RAG API)- or, use docker just for DB:
docker compose -f ./db-compose.yaml
- or, use docker just for DB:
-
Run API:
- Use Docker:
- With PgVector:
docker compose -f ./db-api-compose.yaml up
- Without:
docker compose -f ./api-compose.yaml up
- With PgVector:
- Install locally:
- Docker:
docker compose up
(also starts PSQL/pgvector)- or, use docker just for RAG API:
docker compose -f ./api-compose.yaml
- or, use docker just for RAG API:
- Local:
- Use Docker:
pip install -r requirements.txt uvicorn main:app --host 0.0.0.0 --port 8000