Skip to content
AgenticAIWiki

← Chapter 26. Evaluating RAG

A RAG scorecard

Retrieval qualityTest casequestion + labelsRetrievertop 5 chunks

Swipe to change step

Step 1 of 7. Each test case holds a question, the chunk ids that answer it, and a reference answer. A RAG system can fail in two places, so we score each stage. Test case (question + labels). Retriever (top 5 chunks). arrow from Test case to Retriever. a question moving along e1.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.