Evaluating RAG Retrieval and Generation Separately
This lesson describes a multi-perspective RAG evaluation that scores retrieval and generation separately, so a failing answer can be traced to missed information, distorted generation or both.
Learning outcomes
After completing this lesson, you will be able to:
- Separate retrieval metrics from generation metrics.
- Score RAG metrics with LLM-as-a-judge.
- Add human feedback to RAG evaluation.
Separating retrieval from generation
RAG evaluation scores two stages. Retrieval metrics ask whether the retrieved context contains the information needed: context relevance (are the retrieved chunks relevant to the question?) and context coverage or recall (do they contain all the facts in the reference answer?). Generation metrics ask how well the model used that context: faithfulness (are claims supported by the context?), correctness and completeness (compared with a reference answer), answer relevance, and citation precision and citation coverage (do citations point to chunks that support the statements, and are statements cited?).
The combination diagnoses the problem: low context coverage with high faithfulness means retrieval is failing; high coverage with low faithfulness means the model is not using the context properly or is adding unsupported content.
The following diagram shows which metrics belong to each stage.

Retrieval or generation problem?
Automated assessment with LLM-as-a-judge
Most RAG metrics require judgement, so they are computed with LLM-as-a-judge: an evaluator model receives the question, retrieved context, response and (when available) reference answer, and scores each metric with an explanation. Amazon Bedrock RAG evaluation jobs provide these metrics for knowledge bases or for responses from any RAG system supplied as a dataset. Judges should be stronger than, or at least different from, the generator, use clear rubrics, and be checked against human ratings, because judges can prefer longer answers or their own family's style.
The following diagram shows a RAG assistant's evaluation scores before and after changes to retrieval.

RAG metrics
Human feedback in RAG evaluation
Automated metrics cannot catch every problem in a RAG system, so human feedback collection interfaces complete the picture. Domain experts rate samples of answers and correct reference answers in the evaluation dataset, and users flag answers that are wrong or out of date in production.
Each source of feedback has a distinct use. Expert ratings calibrate the LLM judge, showing whether its scores agree with people who know the subject. User flags reveal gaps that a fixed dataset cannot, such as documents missing from the knowledge base or content that has become outdated since the dataset was written. The following table maps patterns in the metrics to their likely causes.
| Pattern | Likely cause | Where to look |
|---|---|---|
| Low context relevance and coverage | Retrieval misses | Chunking, embeddings, hybrid search, query rewriting |
| High coverage, low faithfulness | Model adds or distorts content | Prompt instructions, temperature, model, grounding check |
| High faithfulness, low correctness | Context is outdated or wrong | Source documents and sync |
| Low citation precision | Citations attached to wrong chunks | Prompt or citation logic |
| Good scores, poor user ratings | Dataset unrepresentative | Add production questions to the dataset |
Locating the problem
A RAG assistant's correctness score is 0.68. A Bedrock retrieve-and-generate evaluation shows context coverage of 0.62 and faithfulness of 0.94.
The model is faithful to what it receives, but the context often lacks the needed facts, so the team works on retrieval: a retrieve-only evaluation of hierarchical chunking and hybrid search raises coverage to 0.85, and correctness follows.
Which Bedrock feature computes judge-based metrics for RAG systems?
Show answer
RAG evaluation jobs in Amazon Bedrock Evaluations.
Exam Tips
Remember for the exam
- Evaluate retrieval (relevance, coverage) and generation (faithfulness, correctness) separately.
- Low coverage plus high faithfulness: fix retrieval.
- Bedrock RAG evaluation jobs compute judge-based RAG metrics.
- Calibrate judges with expert ratings; add user-flagged cases.