Skip to content

Stage 06 · 5 articles

Evaluation

How to measure whether an LLM system is right, before release and on live traffic.

About this stage

LLM evaluation measures whether a system does its job: on a fixed dataset before a release, and on live traffic after it. Evals turn a prompt change or a model swap from a judgment call into a number that a release can be held to.

Start with offline and online evals and the metrics for each. LLM as a judge covers grading output with another model and calibrating that judge against human labels. RAG evaluation scores retrieval and generation separately, so a failing result shows which half broke, and agent evaluation grades the end state of a run before its trajectory. Hallucination detection compares three checks that run in production.

Start here

  1. 01LLM evaluation: offline evals, online evals, and metricsHow to build the dataset and gate a release on it.
  2. 02LLM as a judge: how to build an evaluator you can trustThree judge types, their measured biases, and calibration.
  3. 03RAG evaluation: the metrics that show which half failedScoring retrieval and generation separately, then end to end.
  4. 04AI agent evaluation: grade the outcome, then the trajectoryMetrics for each level of a run, and why trials are repeated.