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.
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 |
#unknown ⇒ Object
Returns the value of attribute unknown
6938 6939 6940 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 6938 def unknown @unknown end |