Every test case is measured on a set of dimensions, and every dimension has one or more thresholds. A case passes only when all of its thresholds are met. This article explains the two kinds of dimensions, how thresholds are evaluated, where the defaults come from, and how the LLM judge scores answers.
AI Fusion provides four built-in quality dimensions. You can use any of them, remove them, or add your own.
Accuracy — is the information correct and complete compared with the expected answer? Inaccurate answers damage trust and can lead to wrong payments, missed deadlines or wrong decisions.
Example: "What's my checking account balance?"
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "Your checking account has about $1,200." (wrong amount, no details) | 2 |
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "We offer many types of accounts including checking, savings, and CDs..." | 1 |
Clarity — is the response easy to understand and well organized? A list of balances with one account per line scores higher than the same numbers run together in one long sentence.
Politeness — is the tone respectful, courteous and professional? This usually matters more for customer-facing agents than for agents used by internal staff.
| Response | Score | |
| High | "I'd be happy to help! Your checking account currently has $1,234.56. Is there anything else I can assist you with?" | 5 |
| Low | "Your balance is $1234.56. Next question." | 1 |
Add your own dimensions for what matters in your business, for example:
A custom dimension is defined by its name and a description for the evaluator — the text the judge reads to understand what to rate. Write the description as a precise rating instruction; the judge is only as consistent as the description is clear.
Performance dimensions catch regressions in cost and speed, which quality scores do not show. Both compare the new run with the baseline session the case was saved from.
| Dimension | Name in the suite file | What is compared |
| Token Consumption | Tokens |
Tokens used by the agent's LLM calls. |
| Response Time | ConversationTime |
Time the agent took to answer. |
Each is reported as a percent deviation from the baseline (positive means more tokens or slower than the baseline):
A threshold of 20 means "fail if the deviation is more than +20%". When there is no baseline data to compare with, the deviation is reported as 0 and the check passes.
Accuracy, Minimum 4 — every answer must score at least 4.
Clarity, Average 4 — one answer can score 3 if another scores 5.
A dimension can have both a Minimum and an Average threshold.
The Default Threshold applies to every quality dimension that does not have its own threshold. With the default set to Minimum 4, every judged dimension must score at least 4 in every answer unless you customize it.
In the Eval Editor, open the Definition tab. The Test Evaluation Configuration section shows:
Quality thresholds are set on a 0–5 slider; performance thresholds on a 0–100% slider. A quality dimension whose Customize toggle is off is still rated, and is checked against the Default Threshold. Performance dimensions are always checked against their own thresholds.
New test cases are seeded from a named set of defaults, stored in the evaluationDefaults MTable of the AI Fusion project. Each row has a name, a threshold JSON array, a dimension JSON map of quality dimensions, and a performanceDimension JSON map of performance dimensions. The default row, evalDefaults, contains:
| Setting | Default |
| Default Threshold | Minimum 4.0 |
| Quality dimensions | Accuracy, Relevance, Clarity, Politeness |
Token Consumption (Tokens) |
MAX 20% |
Response Time (ConversationTime) |
MAX 15% |
To use different defaults for an agent, add a row to evaluationDefaults and set the agent's settings.eval_defaults_name in agent.yaml to the row's name (see agent.yaml Reference). The defaults are applied when a case is created; changing them later does not change existing cases. Studio reads the defaults from the defaults evaluation web service (GET /api/defaults).
For each answer, the judge receives the user's question, the expected answer, the agent's new answer, and the name and description of every quality dimension. It returns a score out of 5 and a short explanation for each dimension. Answers are rated in batches of three turns per judge call.
The judge follows these rules:
The judge uses the project's default LLM interface. See LLM Connectors.
Next article: Running Evaluations and Reading Results
Every test case is measured on a set of dimensions, and every dimension has one or more thresholds. A case passes only when all of its thresholds are met. This article explains the two kinds of dimensions, how thresholds are evaluated, where the defaults come from, and how the LLM judge scores answers.
AI Fusion provides four built-in quality dimensions. You can use any of them, remove them, or add your own.
Accuracy — is the information correct and complete compared with the expected answer? Inaccurate answers damage trust and can lead to wrong payments, missed deadlines or wrong decisions.
Example: "What's my checking account balance?"
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "Your checking account has about $1,200." (wrong amount, no details) | 2 |
| Response | Score | |
| High | "Your checking account (ending in 1234) has a balance of $1,234.56 as of today." | 5 |
| Low | "We offer many types of accounts including checking, savings, and CDs..." | 1 |
Clarity — is the response easy to understand and well organized? A list of balances with one account per line scores higher than the same numbers run together in one long sentence.
Politeness — is the tone respectful, courteous and professional? This usually matters more for customer-facing agents than for agents used by internal staff.
| Response | Score | |
| High | "I'd be happy to help! Your checking account currently has $1,234.56. Is there anything else I can assist you with?" | 5 |
| Low | "Your balance is $1234.56. Next question." | 1 |
Add your own dimensions for what matters in your business, for example:
A custom dimension is defined by its name and a description for the evaluator — the text the judge reads to understand what to rate. Write the description as a precise rating instruction; the judge is only as consistent as the description is clear.
Performance dimensions catch regressions in cost and speed, which quality scores do not show. Both compare the new run with the baseline session the case was saved from.
| Dimension | Name in the suite file | What is compared |
| Token Consumption | Tokens |
Tokens used by the agent's LLM calls. |
| Response Time | ConversationTime |
Time the agent took to answer. |
Each is reported as a percent deviation from the baseline (positive means more tokens or slower than the baseline):
A threshold of 20 means "fail if the deviation is more than +20%". When there is no baseline data to compare with, the deviation is reported as 0 and the check passes.
Accuracy, Minimum 4 — every answer must score at least 4.
Clarity, Average 4 — one answer can score 3 if another scores 5.
A dimension can have both a Minimum and an Average threshold.
The Default Threshold applies to every quality dimension that does not have its own threshold. With the default set to Minimum 4, every judged dimension must score at least 4 in every answer unless you customize it.
In the Eval Editor, open the Definition tab. The Test Evaluation Configuration section shows:
Quality thresholds are set on a 0–5 slider; performance thresholds on a 0–100% slider. A quality dimension whose Customize toggle is off is still rated, and is checked against the Default Threshold. Performance dimensions are always checked against their own thresholds.
New test cases are seeded from a named set of defaults, stored in the evaluationDefaults MTable of the AI Fusion project. Each row has a name, a threshold JSON array, a dimension JSON map of quality dimensions, and a performanceDimension JSON map of performance dimensions. The default row, evalDefaults, contains:
| Setting | Default |
| Default Threshold | Minimum 4.0 |
| Quality dimensions | Accuracy, Relevance, Clarity, Politeness |
Token Consumption (Tokens) |
MAX 20% |
Response Time (ConversationTime) |
MAX 15% |
To use different defaults for an agent, add a row to evaluationDefaults and set the agent's settings.eval_defaults_name in agent.yaml to the row's name (see agent.yaml Reference). The defaults are applied when a case is created; changing them later does not change existing cases. Studio reads the defaults from the defaults evaluation web service (GET /api/defaults).
For each answer, the judge receives the user's question, the expected answer, the agent's new answer, and the name and description of every quality dimension. It returns a score out of 5 and a short explanation for each dimension. Answers are rated in batches of three turns per judge call.
The judge follows these rules:
The judge uses the project's default LLM interface. See LLM Connectors.
Next article: Running Evaluations and Reading Results