CategoricalRatingOption
- class aws_cdk.aws_bedrockagentcore.CategoricalRatingOption(*, definition, label)
Bases:
objectA categorical rating scale option for custom evaluators.
Categorical scales define discrete labels for scoring agent performance.
- Parameters:
definition (
str) – The description that explains what this rating represents.label (
str) – The label for this rating 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 categorical_rating_option = bedrockagentcore.CategoricalRatingOption( definition="definition", label="label" )
Attributes
- definition
The description that explains what this rating represents.
Example:
"The response fully addresses the user query with accurate information."
- label
The label for this rating option.
Example:
"Good"