Features
- Document Management: Methods for adding, retrieving, and deleting documents.
- Vector Store: Utilizes Langchain's vector store for efficient document retrieval.
- Asynchronous Support: Offers async operations for enhanced performance.
-
JWT Auth: Set a
JWT_SECRET
to require authenticated requests.
Setup
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 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:
- Use Docker: