Sub topic 3
Choosing the Quality Dimensions That Matter
Assume you understand basic product requirements and have a general idea of how a language model generates text. You should also be comfortable reading short Python and JSON examples. This chapter focuses on selecting the dimensions you will measure, not yet on building the full evaluation set or release gate.
A quality dimension is one aspect of an AI feature that can be judged separately. For example, an answer can be factually correct but difficult to understand. It can be helpful but expose private information. Measuring these properties separately makes failures easier to find and fix.
Start with the user outcome
Begin with the job the feature must help users complete. Do not start with properties that are easy to measure. A chatbot might produce fluent sentences, but fluency matters only if it helps users solve their problem safely and accurately.
Ask:
- What decision or task should the user complete?
- What information must the output contain?
- What would make the output unusable?
- Which errors would cause harm, loss, or a broken workflow?
- Which differences in output are acceptable?
For example, suppose you are building an assistant that answers questions about a company's refund policy. The user outcome is an accurate answer that helps the customer decide what to do next. Relevant dimensions may include groundedness, completeness, clarity, and safety.
Groundedness means that the answer's claims are supported by the approved source material. Completeness means that the answer includes the important information needed for the user's task. Clarity means that the user can understand the answer without unnecessary effort.
Select dimensions by risk and value
A useful dimension should change a product decision. If improving a dimension would not alter the design, launch decision, or investigation, it may not deserve a separate measurement.
| Dimension | Question to ask | Example failure |
|---|---|---|
| Groundedness | Are claims supported by trusted sources? | The answer invents a 60-day return window. |
| Correctness | Is the answer factually right for the input? | It applies the policy to the wrong product. |
| Completeness | Are all necessary points present? | It omits that damaged items need photos. |
| Relevance | Does it answer the user's actual question? | It explains shipping instead of refunds. |
| Clarity | Can the intended user understand it? | It uses unexplained legal terms. |
| Safety and privacy | Could the output cause harm or expose protected data? | It reveals another customer's order details. |
| Actionability | Does it tell the user what to do next? | It states a rule but gives no next step. |
| Consistency | Does it behave similarly for equivalent inputs? | Minor wording changes produce opposite decisions. |
Do not automatically measure every dimension. Choose the smallest set that covers the user outcome and the important risks. Some dimensions overlap. For a policy assistant, correctness and groundedness may be closely related, but they are not identical: a response can quote a source accurately while using the wrong source for the user's situation.
Account for the feature's context
The same output can have different quality requirements in different settings. A creative writing assistant may prioritize originality and style. A medical triage assistant needs safety, uncertainty handling, and appropriate escalation. A support assistant may prioritize correctness, relevance, and actionability.
Consider four sources of context:
- User expectations: What does the user believe the feature promises?
- Input variation: Which languages, formats, domains, and levels of detail will appear?
- Consequences: What happens when the feature is wrong?
- Operational limits: How much latency, cost, or context can the system use?
Separate user-facing quality from system performance. Latency and cost matter, but they usually belong beside output-quality dimensions rather than replacing them. A fast incorrect answer is still a poor result.
Build a dimension map
Map each important user outcome to the dimensions that protect it. This exposes gaps before you write individual test cases.
For each selected dimension, record a plain-language definition, why it matters, and how you might observe it. Keep the definition narrow enough that two reviewers can apply it to the same output. Avoid hiding multiple properties under one label such as “quality.”
A common error is optimizing for an easy proxy. Word overlap may suggest relevance, but a concise answer can use different words and still be excellent. Likewise, a model judge's high score does not prove factual correctness. Treat every dimension as a measurement choice with limitations.
Exercise
A policy assistant gives accurate answers, but users often do not know what action to take. Which quality dimension is missing or underweighted?
Show answer
Actionability is missing or underweighted. Add a dimension that checks whether the answer gives an appropriate, understandable next step.