Interface NumericalRatingOption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NumericalRatingOption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-19T08:18:44.468Z")
@Stability(Stable)
public interface NumericalRatingOption
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrockagentcore.*;
NumericalRatingOption numericalRatingOption = NumericalRatingOption.builder()
.definition("definition")
.label("label")
.value(123)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNumericalRatingOptionstatic final classAn implementation forNumericalRatingOption -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
The description that explains what this numerical rating represents.Example:
"The response is comprehensive, accurate, and well-structured.";
-
getLabel
The label for this rating option.Example:
"Excellent";
-
getValue
The numerical value for this rating scale option.Example:
5;
-
builder
- Returns:
- a
NumericalRatingOption.BuilderofNumericalRatingOption
-