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.

The configuration details of either an automated or human-based evaluation job.

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

Contains the configuration details of an automated evaluation job that computes metrics.



4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 4214

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

Contains the configuration details of an evaluation job that uses human workers.



4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 4214

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



4214
4215
4216
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 4214

def unknown
  @unknown
end