

# DimensionRatingScale
<a name="API_DimensionRatingScale"></a>

 The rating scale for one dimension of an LLM-as-a-judge evaluator, supporting either a numerical or a categorical scale. 

## Contents
<a name="API_DimensionRatingScale_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** categorical **   <a name="bedrockagentcorecontrol-Type-DimensionRatingScale-categorical"></a>
 The categorical rating scale with named categories and definitions for qualitative evaluation of the dimension.   
Type: Array of [CategoricalScaleDefinition](API_CategoricalScaleDefinition.md) objects  
Required: No

 ** numerical **   <a name="bedrockagentcorecontrol-Type-DimensionRatingScale-numerical"></a>
 The numerical rating scale with defined score values and descriptions for quantitative evaluation of the dimension.   
Type: Array of [NumericalScaleDefinition](API_NumericalScaleDefinition.md) objects  
Required: No

## See Also
<a name="API_DimensionRatingScale_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/DimensionRatingScale) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/DimensionRatingScale) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/DimensionRatingScale) 