Dimension interface
One measurable criterion within a rubric. Quality criteria may use rating weights; safety criteria classify a behavior as allowed or disallowed.
Properties
| allowed | Safety behavior classification: true means allowed behavior and false means disallowed behavior. Required on every safety criterion instead of weight. This is not an evaluation verdict. Omit for ordinary quality criteria; omission never defaults a safety criterion to false. Preserved through edits and regeneration. |
| always_applicable | When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set this on their own custom dimensions. The service defaults to |
| description | What this dimension measures (e.g., 'Correctly identifies the user's reservation intent and pursues the appropriate workflow'). |
| generated_weight | Read-only model-suggested weight (1-10) returned for unweighted Likert dimensions. |
| id | Stable identifier for this dimension (snake_case, e.g., |
| weight | Optional configured weight for legacy or Likert scoring. For Likert, omit every weight for equal contribution or supply a weight for every dimension; partially weighted definitions are rejected. Boolean scoring rejects every configured weight, including explicit unit weights. No schema default is emitted. |
Property Details
allowed
Safety behavior classification: true means allowed behavior and false means disallowed behavior. Required on every safety criterion instead of weight. This is not an evaluation verdict. Omit for ordinary quality criteria; omission never defaults a safety criterion to false. Preserved through edits and regeneration.
allowed?: boolean
Property Value
boolean
always_applicable
When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set this on their own custom dimensions. The service defaults to false if a value is not specified by the caller.
always_applicable?: boolean
Property Value
boolean
description
What this dimension measures (e.g., 'Correctly identifies the user's reservation intent and pursues the appropriate workflow').
description: string
Property Value
string
generated_weight
Read-only model-suggested weight (1-10) returned for unweighted Likert dimensions.
generated_weight?: number
Property Value
number
id
Stable identifier for this dimension (snake_case, e.g., correct_resolution). Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a generated set; the generation pipeline produces an initial value the user can edit. Editable when saving new versions.
id: string
Property Value
string
weight
Optional configured weight for legacy or Likert scoring. For Likert, omit every weight for equal contribution or supply a weight for every dimension; partially weighted definitions are rejected. Boolean scoring rejects every configured weight, including explicit unit weights. No schema default is emitted.
weight?: number
Property Value
number