interface CategoricalRatingOption
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.CategoricalRatingOption |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#CategoricalRatingOption |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.CategoricalRatingOption |
Python | aws_cdk.aws_bedrock_agentcore_alpha.CategoricalRatingOption |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป CategoricalRatingOption |
A categorical rating scale option for custom evaluators.
Categorical scales define discrete labels for scoring agent performance.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const categoricalRatingOption: bedrock_agentcore_alpha.CategoricalRatingOption = {
definition: 'definition',
label: 'label',
};
Properties
| Name | Type | Description |
|---|---|---|
| definition | string | The description that explains what this rating represents. |
| label | string | The label for this rating option. |
definition
Type:
string
The description that explains what this rating represents. Example
'The response fully addresses the user query with accurate information.'
label
Type:
string
The label for this rating option. Example
'Good'

.NET
Go
Java
Python
TypeScript (