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

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
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.



6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
# File 'lib/aws-sdk-bedrock/types.rb', line 6962

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



6962
6963
6964
# File 'lib/aws-sdk-bedrock/types.rb', line 6962

def unknown
  @unknown
end