Monitor live agents and turn feedback into regression tests
Interpret inference tables, gateway usage, reference-based judges and custom scorers.
Monitor live agents and turn feedback into regression tests
Work through the decision
Live users complain about wrong edition numbers. The dashboard shows healthy throughput and successful HTTP responses. The team has no structured measure of whether cited editions match the retrieved manual. What would close the gap?
Check your reasoning
Sample authorized request and response records with their evidence and versions. Define a custom scorer for edition and citation consistency, test it on expert-reviewed examples, and analyze the affected segment. For correctness against an expected business answer obtain an approved reference. Use expert disagreement to refine the labeling rules.
Compare the choices
- Inference tables and monitoring
- Use governed production request and response data, configured traces or samples to monitor relevant quality over time.
- Reference-based correctness
- Evaluate an output against an approved expected answer when the chosen judge requires ground truth. Verify the reference remains valid.
- AI Gateway usage and rate controls
- Inspect usage and enforce supported request or token limits. Treat throttling, cost and answer quality as separate signals.
- Custom scorer and expert feedback
- Implement an interpretable domain-specific check, calibrate against human labels and add adjudicated cases to the regression set.
Test the decision
Use AI Gateway for applicable telemetry, usage accounting and rate limits. Those controls can protect capacity while a quality metric still fails. Monitor distinct populations, model versions and request counts so a traffic-mix change cannot silently explain a score shift.
Practice the guide skills
- Evaluate real production inputs without turning logs into a public dataset. Watch 2:08:08 · Continue at 2:09:26
Check your answer
Use governed inference tables and Agent Monitoring with a permitted sampling or scoring policy. Track freshness, failure rates and populations before comparing intervals.
- Which judge needs an approved expected answer? Watch 2:02:39
Check your answer
Correctness against a reference requires labeled expectations. Groundedness can be evaluated against supplied context and relevance against the request, subject to evaluator design and calibration.
- An application exceeds its throughput budget during a shift change. Watch 2:08:30 · Continue at 2:10:20
Check your answer
Inspect AI Gateway usage data by endpoint or principal, rate-limit policy and returned errors. Distinguish traffic governance from an evaluation of response quality.
- Write a scorer for a strict citation policy. Watch 2:03:51 · Continue at 2:04:00
Check your answer
Extract required fields, validate each cited ID against the allowed evidence and return an interpretable score and rationale. Test malformed, empty, unsupported and valid responses.
- How does subject-matter expert feedback improve the next release? Watch 2:05:08 · Continue at 2:05:30
Check your answer
Review representative failures, resolve label disagreements, record the accepted expectation and add held-out or regression cases. Rerun comparable evaluations and check for overfitting.
Official objectives for this lesson
Related lesson · Access control
Monitor live agents and turn feedback into regression tests quiz
Answer 3 questions. Check each answer for an explanation.