interface CategoricalRatingOption
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CategoricalRatingOption |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CategoricalRatingOption |
Java | software.amazon.awscdk.services.bedrockagentcore.CategoricalRatingOption |
Python | aws_cdk.aws_bedrockagentcore.CategoricalRatingOption |
TypeScript (source) | aws-cdk-lib » aws_bedrockagentcore » 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 { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const categoricalRatingOption: bedrockagentcore.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 (