AISim › Chapter 7: Production readiness
The average looks fine
Level 33. Fine on average. Not for everyone.
Your help assistant scores well, and the dashboard is green. But a third of your customers write in Spanish or Portuguese, and they keep escalating to human support. Nobody has checked whether quality is the same for them. Find out, and close the gap.
Goals
- quality gap between user groups at most 6 points
- accuracy at least 72%
- cost per 1,000 requests at most $12
Concepts: Fairness, Cohort evals, Multilingual.
Hint
First make the gap visible: measure quality per group, not just overall. Then follow a failed Spanish request and see where it goes wrong.
What you learn
An average hides who is being served badly. Measure quality per group (language, region, device, plan) and set a limit on the gap, not just on the average. Here the cause was English-only embeddings: questions in other languages landed nowhere near the docs that answered them. Multilingual embeddings fixed it for a small extra cost.
More in this chapter
- The key was in the app (Level 31)
- Why did it say that? (Level 32)
- Launch review (Chapter 7 boss)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).