Class: Aws::Bedrock::Types::EvaluationConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb

Overview

Note:

EvaluationConfig is a union - when making an API calls you must set exactly one of the members.

Note:

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.

Direct Known Subclasses

Automated, Human, Unknown

Defined Under Namespace

Classes: Automated, Human, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#automatedTypes::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

#humanTypes::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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



689
690
691
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 689

def unknown
  @unknown
end