Class: Aws::Bedrock::Types::GraderConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::GraderConfig
- Includes:
- Structure, Structure::Union
- Defined in:
- 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.
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 |
#unknown ⇒ Object
Returns the value of attribute unknown
6962 6963 6964 |
# File 'lib/aws-sdk-bedrock/types.rb', line 6962 def unknown @unknown end |