Interface GraderConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GraderConfig.Builder,GraderConfig>,SdkBuilder<GraderConfig.Builder,GraderConfig>,SdkPojo
- Enclosing class:
- GraderConfig
@Mutable @NotThreadSafe public static interface GraderConfig.Builder extends SdkPojo, CopyableBuilder<GraderConfig.Builder,GraderConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GraderConfig.BuilderlambdaGrader(Consumer<LambdaGraderConfig.Builder> lambdaGrader)Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.GraderConfig.BuilderlambdaGrader(LambdaGraderConfig lambdaGrader)Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
lambdaGrader
GraderConfig.Builder lambdaGrader(LambdaGraderConfig lambdaGrader)
Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.
- Parameters:
lambdaGrader- Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaGrader
default GraderConfig.Builder lambdaGrader(Consumer<LambdaGraderConfig.Builder> lambdaGrader)
Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.
This is a convenience method that creates an instance of theLambdaGraderConfig.Builderavoiding the need to create one manually viaLambdaGraderConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolambdaGrader(LambdaGraderConfig).- Parameters:
lambdaGrader- a consumer that will call methods onLambdaGraderConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lambdaGrader(LambdaGraderConfig)
-
-