Class: Aws::Bedrock::Types::HumanEvaluationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::HumanEvaluationConfig
- 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
-
#custom_metrics ⇒ Array<Types::HumanEvaluationCustomMetric>
A
HumanEvaluationCustomMetricobject. -
#dataset_metric_configs ⇒ Array<Types::EvaluationDatasetMetricConfig>
Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
-
#human_workflow_config ⇒ Types::HumanWorkflowConfig
The parameters of the human workflow.
Instance Attribute Details
#custom_metrics ⇒ Array<Types::HumanEvaluationCustomMetric>
A HumanEvaluationCustomMetric object. It contains the names the
metrics, how the metrics are to be evaluated, an optional
description.
8653 8654 8655 8656 8657 8658 8659 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 8653 class HumanEvaluationConfig < Struct.new( :human_workflow_config, :custom_metrics, :dataset_metric_configs) SENSITIVE = [] include Aws::Structure end |
#dataset_metric_configs ⇒ Array<Types::EvaluationDatasetMetricConfig>
Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
8653 8654 8655 8656 8657 8658 8659 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 8653 class HumanEvaluationConfig < Struct.new( :human_workflow_config, :custom_metrics, :dataset_metric_configs) SENSITIVE = [] include Aws::Structure end |
#human_workflow_config ⇒ Types::HumanWorkflowConfig
The parameters of the human workflow.
8653 8654 8655 8656 8657 8658 8659 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 8653 class HumanEvaluationConfig < Struct.new( :human_workflow_config, :custom_metrics, :dataset_metric_configs) SENSITIVE = [] include Aws::Structure end |