interface NumericalRatingOption
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.NumericalRatingOption |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#NumericalRatingOption |
Java | software.amazon.awscdk.services.bedrockagentcore.NumericalRatingOption |
Python | aws_cdk.aws_bedrockagentcore.NumericalRatingOption |
TypeScript (source) | aws-cdk-lib » aws_bedrockagentcore » NumericalRatingOption |
A numerical rating scale option for custom evaluators.
Numerical scales define labeled numeric values 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 numericalRatingOption: bedrockagentcore.NumericalRatingOption = {
definition: 'definition',
label: 'label',
value: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| definition | string | The description that explains what this numerical rating represents. |
| label | string | The label for this rating option. |
| value | number | The numerical value for this rating scale option. |
definition
Type:
string
The description that explains what this numerical rating represents. Example
'The response is comprehensive, accurate, and well-structured.'
label
Type:
string
The label for this rating option. Example
'Excellent'
value
Type:
number
The numerical value for this rating scale option. Example
5

.NET
Go
Java
Python
TypeScript (