DimensionRatingScale
The rating scale for one dimension of an LLM-as-a-judge evaluator, supporting either a numerical or a categorical scale.
Contents
This data type is a UNION, so only one of the following members can be specified when used or returned.
- categorical
-
The categorical rating scale with named categories and definitions for qualitative evaluation of the dimension.
Type: Array of CategoricalScaleDefinition objects
Required: No
- numerical
-
The numerical rating scale with defined score values and descriptions for quantitative evaluation of the dimension.
Type: Array of NumericalScaleDefinition objects
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: