Class: Aws::Bedrock::Types::EvaluationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::EvaluationConfig
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
EvaluationConfig is a union - when making an API calls you must set exactly one of the members.
EvaluationConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EvaluationConfig corresponding to the set member.
Used to specify either a AutomatedEvaluationConfig
or
HumanEvaluationConfig
object.
Defined Under Namespace
Classes: Automated, Human, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#automated ⇒ Types::AutomatedEvaluationConfig
Used to specify an automated model evaluation job.
-
#human ⇒ Types::HumanEvaluationConfig
Used to specify a model evaluation job that uses human workers.See
HumanEvaluationConfig
to view the required parameters. -
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#automated ⇒ Types::AutomatedEvaluationConfig
Used to specify an automated model evaluation job. See
AutomatedEvaluationConfig
to view the required parameters.
689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 689 class EvaluationConfig < Struct.new( :automated, :human, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Automated < EvaluationConfig; end class Human < EvaluationConfig; end class Unknown < EvaluationConfig; end end |
#human ⇒ Types::HumanEvaluationConfig
Used to specify a model evaluation job that uses human workers.See
HumanEvaluationConfig
to view the required parameters.
689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 689 class EvaluationConfig < Struct.new( :automated, :human, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Automated < EvaluationConfig; end class Human < EvaluationConfig; end class Unknown < EvaluationConfig; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
689 690 691 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 689 def unknown @unknown end |