Why this matters now: Enterprise RAG deployments have matured past the prototype stage, but evaluation practice has not kept up. Teams build retrieval pipelines, ship them to production, and measure whether users are satisfied. When satisfaction drops, the debugging process starts from scratch: Was it the wrong chunks? The wrong context window? A model regression? Without retrieval quality metrics separate from generation metrics, there is no way to answer that question from data. The gap shows up most painfully when a corpus update, a model upgrade, or a shift in user query patterns degrades accuracy silently, and nobody knows until a user escalates or a compliance audit surfaces the problem.

The single accuracy number that tells you nothing useful

The standard enterprise RAG evaluation looks like this: a team builds a holdout set of questions with known correct answers, runs the pipeline against them before shipping, and reports that the system achieves 83% accuracy. If that number stays above some threshold, the system stays in production. If it drops, the team investigates. The problem is that “accuracy” here is an end-to-end measure. It collapses three separate failure modes into a single score, and when the score drops, the number itself carries no information about which failure mode caused it.

A wrong answer has several possible origins. Retrieval may have returned the wrong documents. Retrieval may have returned the right documents but assembled so many tokens that the relevant passage got buried in the middle of the context window, where the model attends less. The generation model may have hallucinated a confident answer that is not grounded in any retrieved document. Or the holdout eval set itself may have gone stale, drifting away from the queries users are actually asking. Each of these has a different fix: index improvements for retrieval failures, token budget adjustments for context failures, faithfulness scoring for hallucinations, and fresh production sampling for eval set drift. A single accuracy number cannot point to any of them.

The five evaluation decisions below are ordered by where they catch failures in the pipeline: retrieval quality first, then generation hallucinations, then the eval set's own accuracy, then continuous production monitoring, then CI gates. Missing any one of them means some category of failure will go undetected until it becomes visible through user behavior.

End-to-end accuracy tells you something broke. Retrieval metrics, faithfulness scores, and production sampling tell you what broke and where.
~70%
Enterprise RAG pipelines in production have no systematic evaluation for retrieval quality independent of end-to-end answer accuracy, according to practitioner surveys in 2026. Silent degradation goes undetected until users surface it
Majority
Of enterprise RAG quality regressions traced to the retrieval layer, not the generation model, in multi-deployment analysis. Teams that only monitor generation output miss the most common failure class entirely
Faithfulness
Scores whether every claim in an answer is grounded in the retrieved context. A system can be accurate yet unfaithful, and unfaithful yet accidentally correct. The two measures catch entirely different failure classes

The 5 evaluation decisions and what goes wrong when each is skipped

These decisions apply to any RAG pipeline where the output informs a business decision, feeds an external user, or forms part of a compliance record. The table below shows what teams typically do at each decision point, what failure that creates, and how the failure shows up when an examiner or user finally surfaces it.

Evaluation decisionWhat most teams doThe failure it createsHow it surfacesSeverity
Measure retrieval quality separately: context precision and context recallRetrieval is not measured at all. The pipeline is evaluated end to end, and if the final answer is correct, retrieval is assumed to have done its jobRetrieval failures are invisible. A generation model that is good at guessing can mask poor retrieval by producing plausible answers from wrong documents. When the model changes or the corpus changes, retrieval failures that were previously hidden start producing wrong answers with no warningA corpus update adds 400 new documents to the index. Query accuracy drops 11 percentage points over three weeks. The team investigates the generation model, finds no regression, and spends two weeks before determining that the new documents are degrading retrieval precision for a specific query class. Context precision would have shown the retrieval regression the day the new documents landedCritical
Score faithfulness: does every claim in the answer come from retrieved context?Hallucination is treated as a binary pass/fail on obvious errors. No systematic score is tracked per queryPartial hallucinations are undetected. A generation model can produce a mostly correct answer with one fabricated date, one invented reference, or one plausible-but-wrong numerical value, and accuracy scoring will mark the answer as correct if the main claim is right. For regulated use cases, that one fabricated value is the one that ends up in a reportA financial services RAG system answers questions about regulatory deadlines. Accuracy on the holdout set is 87%. A compliance audit pulls 20 live answers and finds that 4 contain deadline dates not present in any retrieved document. The system was hallucinating on date-specific queries. Faithfulness scoring would have flagged queries with low grounding rates before the auditCritical
Build and maintain a golden eval set refreshed from real production queriesThe eval set is built once at launch from hypothetical queries the team wrote. It is never updatedEval set drift. The queries users actually ask in production diverge from the ones the team imagined at build time. Performance on the holdout set stays stable while real-world accuracy declines, because the holdout set no longer represents the actual query distribution. The metric looks fine; the product is notA healthcare RAG system maintains 84% holdout accuracy for six months post-launch. User satisfaction surveys show declining confidence in answers. When the team samples 50 actual production queries and runs them through the eval, accuracy is 61%. The eval set had 110 queries, all written by the engineering team, covering topics users rarely asked and missing the clinical detail-level questions the clinical staff actually neededHigh
Sample production traffic continuously for retrieval and faithfulness monitoringEvaluation runs before launch and optionally before major releases. Production traffic is not sampled. No ongoing monitoring operates between releasesSilent degradation. Accuracy drifts as the corpus changes, user query patterns shift, or the generation model's behavior changes with provider updates. None of these changes trigger an eval run, so none appear in any report. The team has no signal until users escalate or an audit is conductedA vendor updates the LLM API the pipeline uses with a new model version. The new version performs better on most queries but worse on tabular data questions, which make up 23% of this pipeline's real traffic. Holdout accuracy does not capture this because the holdout set has few tabular queries. Production sampling with weekly faithfulness scoring would have surfaced the regression within days of the model updateHigh
Gate deployments on RAG quality: fail retrieval and faithfulness checks in CI before any change shipsDeployment gates check whether the application starts and passes integration tests. No RAG quality metrics are part of the CI pipeline. Quality is checked manually before major releases, if at allQuality regressions ship undetected. Any change that touches the retrieval layer, the chunking strategy, the prompt template, or the context assembly logic can degrade RAG quality without triggering any automatic alert. Teams find out from user reports, not from their own systemsAn engineer updates the chunking configuration to handle a new document format. The change improves handling of the new format but reduces context recall on the existing document types by 14%. The change passes integration tests and ships. Degradation is discovered three days later when support escalations increase. A CI gate that ran context recall on a fixed eval set would have caught the regression before the pull request mergedModerate

The two Critical-level gaps share a root cause: retrieval and generation are treated as a single system rather than two layers with distinct failure modes. Teams that separate the measurement of these layers can localize regressions in hours. Teams that do not can spend weeks on blind debugging, and sometimes never correctly identify the root cause at all, shipping “fixes” that change the wrong layer and have no effect on the actual problem.

Not sure where your RAG pipeline's quality gaps are?

10decoders builds RAG evaluation frameworks for enterprise pipelines: retrieval quality baselines, faithfulness monitoring, golden eval set construction, and CI quality gates. We run the first evaluation against your live pipeline and produce a diagnostic report showing where retrieval is failing, where the generation model is fabricating, and what the fix priority should be.

Book a Free AI Assessment →

Why retrieval failures are harder to find than generation failures

Generation hallucinations are relatively easy to detect once you know to look for them. Run a faithfulness score on a sample of answers, check whether each claim in the answer is supported by the retrieved context, and you have a signal. Retrieval failures are harder because a good generation model can partially compensate for them. If retrieval returns the wrong document but the model has seen enough similar content in pre-training, it may produce a plausible answer anyway. That answer will score well on accuracy if the question is not too specific. The pipeline appears to be working. The failure only becomes visible when the question requires a fact that is genuinely in the corpus but was not retrieved.

Context precision measures the fraction of retrieved chunks that are actually relevant to the query. A pipeline with low context precision is retrieving a lot of noise along with the signal. The generator has to work harder to find the relevant passage, and on queries where the relevant passage is not in the top-retrieved chunks at all, the generator either hallucinates or says it cannot find the information. Context recall is the complementary measure: it asks whether all of the relevant information needed to answer the query was actually retrieved. Low recall means the pipeline is missing documents it should have found, which is a different problem from low precision and has a different fix.

Running both metrics requires a labeled dataset that maps queries to the documents that should be retrieved. Building that dataset is work, and many teams skip it because the ROI is not obvious until the first unexplained regression. The practical starting point is not a comprehensive dataset. It is 50 to 100 queries from the most common query categories, labeled with which documents should appear in the retrieved set. That is enough to detect major retrieval regressions before they reach production.

Stage 1
End-to-end accuracy only

Single score, no diagnosis

The pipeline is evaluated on a fixed holdout set at launch. End-to-end accuracy is the only metric tracked. Retrieval and generation failures are indistinguishable. When accuracy drops, debugging starts from scratch and can take weeks to localize.

Stage 2
Retrieval + faithfulness

Layer-separated evaluation

Context precision, context recall, and faithfulness run alongside end-to-end accuracy. When accuracy drops, the team can tell within hours whether retrieval or generation is responsible, because the metrics point to different layers. Production sampling runs weekly on a 5-10% traffic slice.

Stage 3
CI-gated, continuously refreshed

Quality as infrastructure

All five metrics run in CI and block merges that cause regressions. The golden eval set gets refreshed monthly from production queries that surfaced failures, and the team that owns the pipeline reviews retrieval and faithfulness dashboards weekly rather than waiting for a user complaint to prompt an investigation.

The RAG evaluation implementation checklist

This checklist covers the minimum viable evaluation stack for an enterprise RAG pipeline that serves real users or informs regulated decisions. The items are ordered by impact: the first three are the core diagnostic layer, the next two address ongoing monitoring, and the final two connect evaluation to your deployment workflow.

RAG evaluation implementation checklist
Build a labeled golden eval set of 100-400 queries drawn from actual production traffic, not from hypothetical queries the engineering team wrote.Start with the 100 most common query categories from your production logs and write or pull 1-3 representative queries per category. For each query, identify which documents in the corpus should appear in the retrieved set. This is the retrieval ground truth that makes context precision and recall measurable. Refresh at least 20% of the set monthly by pulling queries from production that received low user satisfaction ratings or that generated support escalations. An eval set that is never refreshed drifts away from real query distribution within two to three months of a new user cohort or a corpus update, and your metrics stop measuring what actually matters.
Track context precision and context recall as separate retrieval metrics, run against every eval set update and every retrieval configuration change.Context precision is the fraction of retrieved chunks that are genuinely relevant to the query. If your pipeline retrieves 8 chunks and 3 are relevant, precision is 0.375. Context recall is the fraction of relevant documents that appear anywhere in the retrieved set. Both are needed: high precision with low recall means you are retrieving clean but incomplete context; high recall with low precision means the generation model has to find the relevant passage in a lot of noise. RAGAS and DeepEval both compute these from your labeled ground truth. A precision below 0.70 is worth investigating before continuing to tune anything else in the pipeline, because the retrieval layer is not selecting reliably enough for generation improvements to matter.
Score faithfulness on every query in your eval set: does each claim in the answer trace back to a retrieved document?Faithfulness is the core RAG hallucination metric. It measures whether every factual claim in the generated answer is supported by at least one retrieved document. A faithfulness score of 0.60 means 40% of the claims in the sample answers were not grounded in retrieved context, regardless of whether those claims happened to be correct from pre-training knowledge. For customer-facing or regulated applications, a faithfulness score below 0.80 on the eval set should block shipping. LLM-as-judge scoring via RAGAS or DeepEval is the standard approach: the evaluator model reads each claim, checks it against the retrieved context, and returns a support/not-support verdict. The eval run cost per 100 queries is typically under a dollar at current API rates and is worth running on every pull request that touches the generation layer.
Sample 5-10% of production traffic weekly and run faithfulness and context precision on the sample.Your eval set covers known query types. Production traffic includes query types you did not anticipate, phrasing patterns the eval set does not represent, and edge cases that only appear at volume. Sampling production traffic and scoring it weekly gives you a continuous signal on whether real-world quality is tracking your eval set metrics. When the two diverge, the production sample is usually the more accurate signal. A common pattern is faithfulness staying stable on the eval set while dropping on the production sample, which indicates query distribution shift: users are asking things the eval set does not cover, and the pipeline is handling those queries poorly. That divergence is a prompt to refresh the eval set and investigate the failing query class before it becomes visible in user satisfaction data.
Add context precision and faithfulness as CI gate metrics: fail pull requests that drop either below your baseline thresholds.Any change that touches chunk size, overlap, embedding model, retrieval strategy, reranker configuration, context window size, or the prompt template can change both retrieval quality and faithfulness. Without a CI gate, those changes ship and degrade production quality before anyone measures them. The gate itself is a RAGAS or DeepEval run on your golden eval set triggered on every pull request. Set the failure thresholds conservatively: a drop of more than three percentage points in context precision or more than two percentage points in faithfulness should block the merge and require the author to investigate. The gate does not need to run the full eval set; a representative 50-query subset that covers your highest-traffic query categories is enough to catch major regressions without adding more than a few minutes to CI runtime.
Track metrics separately by document type, query category, and user segment to find retrieval failures that aggregate scores hide.An overall context precision of 0.78 can mask a precision of 0.42 on a specific document type that makes up 15% of queries. That 15% can be your highest-stakes queries: regulatory documents, clinical guidelines, financial disclosures. Aggregate metrics that look acceptable can hide systematic failures on the most important query classes. Run precision, recall, and faithfulness broken down by the metadata categories that matter for your corpus: document type, recency, department or product line, and query intent category if you have intent classification in your pipeline. Review the per-category breakdown monthly. The categories with the worst retrieval quality are where accuracy failures and compliance exposures will concentrate.
A faithfulness score below 0.80 on your eval set means roughly one in five claims in your answers is not grounded in what you retrieved. That is not a hallucination rate. That is a documentation problem waiting for a compliance audit.

What to do this week

Run your last 100 production queries through RAGAS or DeepEval and look at context precision first

You do not need a labeled dataset to get started on faithfulness scoring. Pull your last 100 production queries, run them through the pipeline, and score each answer for faithfulness using RAGAS or DeepEval with your preferred LLM-as-judge. The result tells you what fraction of claims in live answers are grounded in retrieved context. If faithfulness is below 0.75, the generation layer is fabricating at a rate that warrants immediate investigation before any other optimization work. For context precision, you will need to label which documents should appear in the retrieved set for a sample of queries, but starting with 20-30 queries from your most common query category is enough to get a retrieval quality signal within a day.

Identify what percentage of your recent accuracy regressions are retrieval failures versus generation failures

Go back through the last three accuracy regressions or user-escalated failures your team investigated. For each one, determine whether the retrieved documents contained the information needed to answer the question correctly. If the right documents were not retrieved, it was a retrieval failure. If the right documents were retrieved but the generated answer was wrong or hallucinated, it was a generation failure. For most teams doing this exercise for the first time, retrieval is responsible for a larger share than expected. That finding alone is worth redirecting optimization effort: if retrieval is failing more often than generation, putting engineering time into prompt tuning will not move the number that matters.

Build a 50-query golden eval set from production logs before the end of this sprint

Query your production logs for the 50 queries that received the lowest user satisfaction ratings, the most follow-up clarification requests, or the most explicit negative feedback. These are the queries your pipeline is currently handling worst. Label each with the document or documents from your corpus that contain the correct answer. That labeled set is your first golden eval set, and it is built entirely from real failures rather than hypothetical test cases. Running context precision and faithfulness against this set will show you where the pipeline is failing most badly, in the query domain where fixing it will have the most user-visible impact.

Add a faithfulness check to your next deployment pull request template

Before the next change to your retrieval or generation configuration ships, add a step to the pull request template that requires the author to run faithfulness scoring on a 20-query sample from the golden eval set and paste the result. This does not require CI automation yet. It requires a human to run a script and record the number. That lightweight step catches regressions that would otherwise ship unnoticed, and it builds the team's familiarity with what faithfulness scoring shows before you automate it. Automation is the goal, but the fastest path to catching the next regression is adding the manual check to the process this week.

Let 10decoders evaluate your RAG pipeline before users find the failures

We run retrieval quality diagnostics, faithfulness scoring, and golden eval set construction on your live RAG pipeline and deliver a report that shows where precision and recall are breaking, what share of live answers contain ungrounded claims, and which query categories carry the most risk. Our enterprise RAG practice has built evaluation stacks for healthcare, FinTech, and document-intensive enterprise workflows.