EvaluationDimension¶
Structure Class¶
EvaluationDimension
dataclass
¶
Bases: _SerdeShape
A single dimension of an LLM-as-a-judge evaluator, defining what the evaluator model should judge for that dimension and how it should be scored.
Attributes¶
dimension_instruction
instance-attribute
¶
dimension_instruction: str
The instruction to the evaluator model for this dimension, describing what the model should judge when scoring the dimension.
dimension_name
instance-attribute
¶
dimension_name: str
The name of the dimension. This name is unique within the evaluator and identifies the dimension's results.
dimension_rating_scale
instance-attribute
¶
dimension_rating_scale: DimensionRatingScale
The rating scale for this dimension, which can be numerical or categorical. A dimension's rating scale cannot itself be multi-dimensional.