EvaluationDimension
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.
Contents
- dimensionInstruction
-
The instruction to the evaluator model for this dimension, describing what the model should judge when scoring the dimension.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 4000.
Required: Yes
- dimensionName
-
The name of the dimension. This name is unique within the evaluator and identifies the dimension's results.
Type: String
Pattern:
[a-zA-Z][a-zA-Z0-9_]{0,47}Required: Yes
- dimensionRatingScale
-
The rating scale for this dimension, which can be numerical or categorical. A dimension's rating scale cannot itself be multi-dimensional.
Type: DimensionRatingScale object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: Yes
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: