Chunk a handbook, search it by meaning, fuse BM25 with dense retrieval, rerank, measure recall and NDCG, and keep the index fresh.
Retrieval-augmented generation, or RAG, is how an AI assistant answers from your documents instead of from memory: it finds the right passages first, then writes an answer from them. The RAG Lab lets you run every stage of that pipeline on a small handbook and see where answers get lost.
Most RAG failures happen before the language model is ever called. A chunk was cut in the wrong place, the search missed a passage that used different words, or an outdated copy of a document was still in the index. Each experiment here makes one of those failures visible, and shows the fix.
It is aimed at developers building search or chat over their own data, and at students who want to understand what "vector search" and "reranking" mean in practice. The metrics experiment computes recall, MRR and NDCG as you tap results, which is the quickest way to learn what those scores reward.