Class: Aws::Bedrock::Types::HumanEvaluationCustomMetric

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

Overview

In a model evaluation job that uses human workers you must define the name of the metric, and how you want that metric rated ratingMethod, and an optional description of the metric.

Constant Summary collapse

SENSITIVE =
[:name, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

An optional description of the metric. Use this parameter to provide more details about the metric.

Returns:

  • (String)


3397
3398
3399
3400
3401
3402
3403
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3397

class HumanEvaluationCustomMetric < Struct.new(
  :name,
  :description,
  :rating_method)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#nameString

The name of the metric. Your human evaluators will see this name in the evaluation UI.

Returns:

  • (String)


3397
3398
3399
3400
3401
3402
3403
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3397

class HumanEvaluationCustomMetric < Struct.new(
  :name,
  :description,
  :rating_method)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end

#rating_methodString

Choose how you want your human workers to evaluation your model. Valid values for rating methods are ThumbsUpDown, IndividualLikertScale,ComparisonLikertScale, ComparisonChoice, and ComparisonRank

Returns:

  • (String)


3397
3398
3399
3400
3401
3402
3403
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3397

class HumanEvaluationCustomMetric < Struct.new(
  :name,
  :description,
  :rating_method)
  SENSITIVE = [:name, :description]
  include Aws::Structure
end