Offline: a versioned dataset of real and edge-case inputs with expected outputs or rubrics, run automatically on every prompt, model, or retrieval change (CI for quality).
Scoring mix: exact match or code checks where possible, retrieval metrics (recall@k, MRR), LLM-as-judge for faithfulness and helpfulness, and human review of a sample.
Compare against a baseline and block releases that regress key metrics.
Online: shadow traffic, A/B tests, thumbs up/down, escalation and re-ask rates, and sampled review of production logs.
Feed production failures back into the offline dataset.
Loading…