NumericalRatingOption
- class aws_cdk.aws_bedrock_agentcore_alpha.NumericalRatingOption(*, definition, label, value)
Bases:
object(experimental) A numerical rating scale option for custom evaluators.
Numerical scales define labeled numeric values for scoring agent performance.
- Parameters:
definition (
str) – (experimental) The description that explains what this numerical rating represents.label (
str) – (experimental) The label for this rating option.value (
Union[int,float]) – (experimental) The numerical value for this rating scale option.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha numerical_rating_option = bedrock_agentcore_alpha.NumericalRatingOption( definition="definition", label="label", value=123 )
Attributes
- definition
(experimental) The description that explains what this numerical rating represents.
- Stability:
experimental
Example:
"The response is comprehensive, accurate, and well-structured."
- label
(experimental) The label for this rating option.
- Stability:
experimental
Example:
"Excellent"
- value
(experimental) The numerical value for this rating scale option.
- Stability:
experimental
Example:
5