Traditional software works or fails in predictable ways. Features built on language models are probabilistic: the same question can get different answers, and a change to a prompt can fix one case and break three others. Shipping them safely needs systematic evaluation, not a few impressive demos.
Build an evaluation set
Collect real examples of what users will ask or submit, including difficult and unusual cases, and write down what a good answer looks like. A few hundred well-chosen examples beat thousands of easy ones. Keep the set current as you learn how people actually use the feature.
Measure what matters
- Correctness against known answers
- Grounding: is every claim supported by the source material?
- Safety: does it refuse what it should, and avoid leaking data?
- Format: does the output follow the structure the application expects?
- Cost and response time per request
Combine people and automation
Automated checks and model-graded evaluations scale well, but review a sample by hand regularly to keep them honest. Run the evaluation on every change to prompts, models or data, and compare with the previous version before releasing.
Our engineers and consultants write about what they see in real projects. Have a question about your own systems?





