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 =
[:metric_names]

Instance Attribute Summary collapse

Instance Attribute Details

#datasetTypes::EvaluationDataset

Specifies the prompt dataset.



1093
1094
1095
1096
1097
1098
1099
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1093

class EvaluationDatasetMetricConfig < Struct.new(
  :task_type,
  :dataset,
  :metric_names)
  SENSITIVE = [:metric_names]
  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>)


1093
1094
1095
1096
1097
1098
1099
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1093

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

#task_typeString

The task type you want the model to carry out.

Returns:

  • (String)


1093
1094
1095
1096
1097
1098
1099
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1093

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