Evaluating RAG and agents end to end
Your docs assistant's answer quality drops from 88% to 79% after a release that changed the chunker, the reranker and the prompt. An end-to-end score tells you something broke. Only stage-by-stage scores, read from the same traces, tell you which of the three did it. And for agents, one lucky run proves nothing, so you run each task several times and ask a sharper question.
In this lesson you'll learn to
- Explain why a pipeline needs both end-to-end evals (does it work?) and component evals (where did it break?), and which metric fits each stage.
- Build one eval suite whose cases carry labels for every stage, so a single run produces a scorecard from the traces.
- Attribute end-to-end failures to a stage, for example by crossing retrieval hits with answer quality.
- Compute and choose between pass@k and pass^k for agents run several times per task.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.