Skip to content

Basit-K-A/VectorDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VectorDB

Modular vector database with a FastAPI backend.

Requirements

  • Python 3.12+

Setup

python -m venv .venv
.venv\Scripts\activate  # Windows
pip install -e ".[dev]"

Configuration

Copy .env.example to .env and adjust values as needed.

Run

vectordb
# or
uvicorn vectordb.api.app:create_app --factory --reload

Open the demonstration UI at http://localhost:8000/demo.

The demo workflow:

  1. Load the sample corpus or ingest your own documents
  2. Inspect stored documents and vector index stats
  3. Run a question to see retrieval scores and metadata matches
  4. Review the thin LLM answer generated from retrieved context

Optional OpenAI integration:

VECTORDB_LLM_PROVIDER=openai
VECTORDB_OPENAI_API_KEY=your-key-here

Test

pytest

About

A custom vector database and retrieval engine built from scratch, featuring semantic search, embedding storage, ANN indexing, metadata filtering, and RAG-powered document retrieval.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors