Research note

Grounded RAG

A RAG system built from scratch in Python: PDFs indexed into SQLite with sqlite-vec, local LLM answers with page citations, a refusal when no passage scores high enough, and rule-based retrieval and answer evals.

Python · SQLite · sqlite-vec · FastAPI · sentence-transformers · mlx-lm · pytest