Learn from the live system.
Understand traces, user corrections, quality drift, incidents, and the evaluation loop after release.
Start with the meaning.
Passing a pre-release evaluation does not end the work. Users may ask different questions than the test set anticipated. Documents change, model versions change, and a new interface can alter how people use the feature. Monitoring checks whether the system still meets its task contract in the real workflow.
Useful signals include task completion, user correction, escalation, unsupported-answer rate, citation failures, latency, and cost. A thumbs-up alone is weak evidence: users may reward a fluent answer that is wrong or dislike a correct refusal. Feedback should be connected to examples and failure types whenever privacy rules allow.
How the idea works.
Instrument the stages. A trace should show which document IDs were retrieved, which model and prompt version were used, whether validation passed, and how long each stage took. Store enough to investigate incidents while avoiding unnecessary sensitive content. Aggregate metrics show trends; sampled cases explain causes. Both are needed.
Quality drift can come from changed user requests, changed source documents, or a model update. Compare recent cases with the evaluation slices. If unsupported answers rise only for a new product line, the issue may be missing documents. If every slice worsens after a model switch, the model or prompt adapter may be responsible. Make changes reversible and evaluate before broad rollout.
Feedback must enter a controlled improvement loop. Triage failures, label a representative sample, update the task or data, run regression evaluations, and monitor the next release. Do not automatically train on all user corrections: some are inaccurate, private, or outside the intended task.
A sudden rise in unsupported answers might have several causes. Perhaps new users ask about a product absent from the document corpus. Perhaps the retriever indexes an obsolete version. Perhaps a model update changed citation behavior. Aggregate metrics identify the change; traces and sampled cases locate the stage. Compare current failures with the task's evaluation slices and update the corpus or system where the evidence points.
A correction from a user is not automatically a gold label. The user may be mistaken, frustrated by a correct refusal, or asking for behavior outside the task. Review and classify feedback before it becomes an evaluation case or training record. Then run the same regression suite before release. This keeps the improvement loop grounded in the task contract rather than in whichever complaint arrived most recently.
Follow the code.
def summarize(events):
total = len(events)
if total == 0:
return {"requests": 0, "review_rate": 0.0}
reviews = sum(event["status"] == "needs_review" for event in events)
return {"requests": total, "review_rate": reviews / total}
print(summarize([{"status": "ready"}, {"status": "needs_review"}]))The function counts requests and the share routed to review. The empty-data branch avoids division by zero. A rising review rate is a signal to investigate, not proof of a specific cause. It could mean more difficult traffic, a validation change, or weaker model behavior.
A real dashboard would separate results by task slice, model version, and time, and would protect any associated user data. The metric should lead to inspection of examples.
What the result does not say.
Define an incident path for harmful or privacy-related output before launch. The ability to disable a feature or revert a model version is part of reliability.
User feedback is valuable when it can change the system. A feedback button without a review and repair process only collects frustration.
One clear idea.
A live AI application needs an observable, privacy-aware loop from failure to repair.
The AI cookbook
Complete, explained local workflows sit alongside this reading course.