Offline evaluation runs your system against a fixed dataset before you ship. Online evaluation measures the live system on real user traffic after you ship.
Offline gives a fast, repeatable signal with known expected answers, so you can compare two prompts fairly. But a fixed dataset never covers everything real users ask.
Online sees the real mix of user inputs, but usually has no ground truth. You lean on judges, user signals, and product outcomes instead.
| Offline eval | Online eval | |
|---|---|---|
| When | before release | after release, continuously |
| Data | curated, fixed set | live production traffic |
| Ground truth | usually available | usually missing |
| Blocks a deploy | yes | no, it alerts or triggers rollback |
They form a loop, not a choice. Ship on offline results, watch online, then feed the failures you find back into the offline set.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
The diagram below the answer is the concept . Jump to it ↓