Class: Aws::Bedrock::Types::GraderConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::GraderConfig
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
GraderConfig is a union - when making an API calls you must set exactly one of the members.
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
Defined Under Namespace
Classes: LambdaGrader, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#lambda_grader ⇒ Types::LambdaGraderConfig
Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#lambda_grader ⇒ Types::LambdaGraderConfig
Configuration for using an AWS Lambda function as the grader for evaluating model responses and provide reward signals in reinforcement fine-tuning.
7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 7415 class GraderConfig < Struct.new( :lambda_grader, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class LambdaGrader < GraderConfig; end class Unknown < GraderConfig; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
7415 7416 7417 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 7415 def unknown @unknown end |