Skip to content

alpatrykos/raglab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG lab (deterministic, offline, minimal)

Prereqs

  • Docker + Compose
  • Python 3.8+
  • chmod +x the scripts

Run

docker-compose up -d
./bin/seed.sh
./bin/query_rerank.sh "deterministic rerank with cosine and tf idf"
./bin/assert_success.sh

About

Tiny, fully reproducible lab that spins up Postgres 16 + pgvector, loads a 10‑row toy dataset, builds an HNSW index, and runs a 2‑stage query (vector KNN → exact cosine + mini TF‑IDF rerank).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors