Modular vector database with a FastAPI backend.
- Python 3.12+
python -m venv .venv
.venv\Scripts\activate # Windows
pip install -e ".[dev]"Copy .env.example to .env and adjust values as needed.
vectordb
# or
uvicorn vectordb.api.app:create_app --factory --reloadOpen the demonstration UI at http://localhost:8000/demo.
The demo workflow:
- Load the sample corpus or ingest your own documents
- Inspect stored documents and vector index stats
- Run a question to see retrieval scores and metadata matches
- Review the thin LLM answer generated from retrieved context
Optional OpenAI integration:
VECTORDB_LLM_PROVIDER=openai
VECTORDB_OPENAI_API_KEY=your-key-herepytest