
· 7 min read
How to evaluate a RAG system, from retrieval to grounded answers
A practical guide to measuring whether a RAG system finds the right sources and answers from them, before and after it ships.
Prepare an AI application for release with repeatable evaluation, controlled deployment and a way back when quality falls.

Engagement scope
A prompt change can improve common requests while breaking rare, expensive cases. We build the engineering controls that make those trade-offs visible before a release reaches users.
Turn real examples and edge cases into repeatable checks.
Version models, prompts and retrieval settings alongside the application.
Set up tracing, staged rollout and rollback paths for the operating team.
Agree with the product owner and risk owner which failures would block a release, which are tolerable, and who decides when the evidence is mixed.
Assemble cases from real traffic and known incidents, including rare and expensive ones, with grading criteria a reviewer would recognize and a baseline score for the current release.
Bring prompts, model versions, retrieval settings and evaluation results into the same release process as the application, so any production answer can be traced to its configuration.
Set up tracing and staged rollout, and exercise promotion and rollback with the operating team so returning to the previous version is a practiced step rather than an improvisation.
A candidate can raise its overall score while getting worse on a small group of high-cost cases, such as refund decisions or contractual wording. We weight and report those groups separately so the release decision sees them. Teams that track a single aggregate number tend to discover the regression from a customer.
Model-graded checks let a suite run on every change, but a grader can share the blind spots of the system it grades. We calibrate graders against human judgments on a sample and keep human review for the criteria where the two disagree. Uncalibrated grading produces confident scores that do not predict what users experience.
An AI release is more than code. The prompt, the model identifier, retrieval settings, the index snapshot and tool definitions all change behavior. If any of them can change outside the release process, a rollback restores the code and keeps the behavior that caused the problem. We define the versioned unit with your platform team.
If the feature does not exist yet, AI development builds it, and AI engineering can follow or run alongside.
Keeping a released service healthy day to day, with monitoring, incident playbooks and cost reviews, is AI operations. Deciding who approves a use case and on what evidence is AI governance.
Also in AI and application engineering
Industries where it applies

· 7 min read
A practical guide to measuring whether a RAG system finds the right sources and answers from them, before and after it ships.

· 4 min read
What to measure, how to build and simulate call scenarios, and how to roll a voice agent out safely.
Which AI system is nearing release, and which failures would make it unfit for production?