GitHub - alpatrykos/raglab: 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). · GitHub
Skip to content
alpatrykosPublic

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

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages