A judge prompt gives the model the input, the output being graded, optional reference context, and a rubric, then asks for a score or a pass/fail verdict with an explanation. It scales human-style review to thousands of traces, which manual review cannot do.
Judges have known failure modes: they can prefer longer answers, favor outputs from their own model family, and drift when the judge model changes. Pin the judge model and prompt, calibrate against a sample of human labels, and combine judges with programmatic checks (exact match, schema validation, or regex) where the answer is checkable.
Use it online on sampled production traces to catch regressions, and offline on datasets in CI to gate releases. OpenLIT runs LLM-as-a-judge evaluators (hallucination, bias, toxicity, or custom) on traces, with a configurable judge model, scheduled Auto Evaluation, and pass-rate analytics, and the same criteria through the SDK for CI.