NumericalRatingOption
- class aws_cdk.aws_bedrock_agentcore_alpha.NumericalRatingOption(*, definition, label, value)
Bases:
object(deprecated) A numerical rating scale option for custom evaluators.
Numerical scales define labeled numeric values for scoring agent performance.
- Parameters:
definition (
str) – (deprecated) The description that explains what this numerical rating represents.label (
str) – (deprecated) The label for this rating option.value (
Union[int,float]) – (deprecated) The numerical value for this rating scale option.
- Deprecated:
Use the equivalent construct from
aws-cdk-lib/aws-bedrockagentcoreinstead.- Stability:
deprecated
- 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
(deprecated) The description that explains what this numerical rating represents.
- Stability:
deprecated
Example:
"The response is comprehensive, accurate, and well-structured."
- label
(deprecated) The label for this rating option.
- Stability:
deprecated
Example:
"Excellent"
- value
(deprecated) The numerical value for this rating scale option.
- Stability:
deprecated
Example:
5