Class: Aws::Bedrock::Types::EvaluationDatasetMetricConfig

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

Overview

Defines the built-in prompt datasets, built-in metric names and custom metric names, and the task type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#datasetTypes::EvaluationDataset

Specifies the prompt dataset.



771
772
773
774
775
776
777
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 771

class EvaluationDatasetMetricConfig < Struct.new(
  :task_type,
  :dataset,
  :metric_names)
  SENSITIVE = []
  include Aws::Structure
end

#metric_namesArray<String>

The names of the metrics used. For automated model evaluation jobs valid values are "Builtin.Accuracy", "Builtin.Robustness", and "Builtin.Toxicity". In human-based model evaluation jobs the array of strings must match the name parameter specified in HumanEvaluationCustomMetric.

Returns:

  • (Array<String>)


771
772
773
774
775
776
777
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 771

class EvaluationDatasetMetricConfig < Struct.new(
  :task_type,
  :dataset,
  :metric_names)
  SENSITIVE = []
  include Aws::Structure
end

#task_typeString

The task type you want the model to carry out.

Returns:

  • (String)


771
772
773
774
775
776
777
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 771

class EvaluationDatasetMetricConfig < Struct.new(
  :task_type,
  :dataset,
  :metric_names)
  SENSITIVE = []
  include Aws::Structure
end