AISim › Chapter 2: Making it good
Flying blind
Level 9. Costs are down 95%. Is anything else down?
A contractor "optimised" your help bot: the small model, one huge chunk per question. The dashboard looks fantastic (fast, cheap, zero errors) and they've already invoiced. Support says answers have got worse, but nobody can prove it, because nothing measures whether answers are right.
Goals
- accuracy at least 82%
- hallucination rate at most 15%
- cost per 1,000 requests at most $15
- median latency at most 6.0s
Concepts: Evals, LLM-as-judge, Observability.
Hint
Before you change anything, make quality visible: add an Eval Harness after the LLM. Then let the numbers, and the failed requests, tell you what to fix.
What you learn
You can't improve what you can't see. Speed, cost and errors are easy to measure, so teams optimise them and quietly wreck quality. An eval harness (a test set with known answers, plus an LLM judge scoring a sample of real traffic) turns "I think it's worse" into a number, and tells you whether each change actually helped.
More in this chapter
- The contract reviewer (Level 6)
- "It feels slow" (Level 7)
- The chat that never ends (Level 8)
- Bring it in-house (Level 10)
- The enterprise pilot (Chapter 2 boss)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).