Interface CategoricalRatingOption
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CategoricalRatingOption.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-19T19:44:36.920Z")
@Stability(Stable)
public interface CategoricalRatingOption
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrockagentcore.*;
CategoricalRatingOption categoricalRatingOption = CategoricalRatingOption.builder()
.definition("definition")
.label("label")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCategoricalRatingOptionstatic final classAn implementation forCategoricalRatingOption -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
The description that explains what this rating represents.Example:
"The response fully addresses the user query with accurate information.";
-
getLabel
The label for this rating option.Example:
"Good";
-
builder
- Returns:
- a
CategoricalRatingOption.BuilderofCategoricalRatingOption
-