Class: Aws::Bedrock::Types::HumanEvaluationConfig

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

Overview

Specifies the custom metrics, how tasks will be rated, the flow definition ARN, and your custom prompt datasets. Model evaluation jobs use human workers only support the use of custom prompt datasets. To learn more about custom prompt datasets and the required format, see Custom prompt datasets.

When you create custom metrics in HumanEvaluationCustomMetric you must specify the metric's name. The list of names specified in the HumanEvaluationCustomMetric array, must match the metricNames array of strings specified in EvaluationDatasetMetricConfig. For example, if in the HumanEvaluationCustomMetric array your specified the names "accuracy", "toxicity", "readability" as custom metrics then the metricNames array would need to look like the following ["accuracy", "toxicity", "readability"] in EvaluationDatasetMetricConfig.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_metricsArray<Types::HumanEvaluationCustomMetric>

A HumanEvaluationCustomMetric object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.



2257
2258
2259
2260
2261
2262
2263
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2257

class HumanEvaluationConfig < Struct.new(
  :human_workflow_config,
  :custom_metrics,
  :dataset_metric_configs)
  SENSITIVE = []
  include Aws::Structure
end

#dataset_metric_configsArray<Types::EvaluationDatasetMetricConfig>

Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.



2257
2258
2259
2260
2261
2262
2263
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2257

class HumanEvaluationConfig < Struct.new(
  :human_workflow_config,
  :custom_metrics,
  :dataset_metric_configs)
  SENSITIVE = []
  include Aws::Structure
end

#human_workflow_configTypes::HumanWorkflowConfig

The parameters of the human workflow.



2257
2258
2259
2260
2261
2262
2263
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 2257

class HumanEvaluationConfig < Struct.new(
  :human_workflow_config,
  :custom_metrics,
  :dataset_metric_configs)
  SENSITIVE = []
  include Aws::Structure
end