Class EvaluationDimension
java.lang.Object
software.amazon.awssdk.services.bedrockagentcorecontrol.model.EvaluationDimension
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EvaluationDimension.Builder,EvaluationDimension>
@Generated("software.amazon.awssdk:codegen")
public final class EvaluationDimension
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationDimension.Builder,EvaluationDimension>
A single dimension of an LLM-as-a-judge evaluator, defining what the evaluator model should judge for that dimension and how it should be scored.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EvaluationDimension.Builderbuilder()final StringThe instruction to the evaluator model for this dimension, describing what the model should judge when scoring the dimension.final StringThe name of the dimension.final DimensionRatingScaleThe rating scale for this dimension, which can be numerical or categorical.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends EvaluationDimension.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dimensionName
The name of the dimension. This name is unique within the evaluator and identifies the dimension's results.
- Returns:
- The name of the dimension. This name is unique within the evaluator and identifies the dimension's results.
-
dimensionInstruction
The instruction to the evaluator model for this dimension, describing what the model should judge when scoring the dimension.
- Returns:
- The instruction to the evaluator model for this dimension, describing what the model should judge when scoring the dimension.
-
dimensionRatingScale
The rating scale for this dimension, which can be numerical or categorical. A dimension's rating scale cannot itself be multi-dimensional.
- Returns:
- The rating scale for this dimension, which can be numerical or categorical. A dimension's rating scale cannot itself be multi-dimensional.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluationDimension.Builder,EvaluationDimension> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-