Class: Aws::Bedrock::Types::GraderConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb

Overview

Note:

GraderConfig is a union - when making an API calls you must set exactly one of the members.

Note:

GraderConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of GraderConfig corresponding to the set member.

Configuration for the grader used in reinforcement fine-tuning to evaluate model responses and provide reward signals.

Direct Known Subclasses

LambdaGrader, Unknown

Defined Under Namespace

Classes: LambdaGrader, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lambda_graderTypes::LambdaGraderConfig

Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.



6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 6938

class GraderConfig < Struct.new(
  :lambda_grader,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class LambdaGrader < GraderConfig; end
  class Unknown < GraderConfig; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6938
6939
6940
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 6938

def unknown
  @unknown
end