Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
NumericalRatingOption Struct
A numerical rating scale option for custom evaluators.
Numerical scales define labeled numeric values for scoring agent performance.
Example
ts
// 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 numericalRatingOption: bedrock_agentcore_alpha.NumericalRatingOption = {
definition: 'definition',
label: 'label',
value: 123,
};
Properties
The description that explains what this numerical rating represents.
example
ts
'The response is comprehensive, accurate, and well-structured.'
The label for this rating option.
example
ts
'Excellent'
The numerical value for this rating scale option.
example
ts
5