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