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