A teaching demonstration
Transparent RAG
When a chatbot answers a question about a document, it looks like magic and you are asked to take it on faith. This page removes the faith. Every stage between your question and the answer is shown in order — and once the answer exists, it is checked, sentence by sentence, against the text it came from.
CorpusUnified Rules of Mixed Martial Arts·August 2025 revision·8 pages
Explain itNo jargon. Written for anyone.
Live run unavailable
Please refer to the GitHub repo for the source code: github.com/aadiikun/Scratch-RAG
Compare the two pipelines
the pointRun the same question through the blunt pipeline and the careful one at the same time, and watch the numbers move. Everything below splits into two columns.
clone the repo to run the pipeline yourselfshowing recorded run
loading a recorded run…