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.
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1026 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.
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1026 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
1026 1027 1028 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1026 def unknown @unknown end |