Class: Aws::Bedrock::Types::EvaluationDatasetMetricConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::EvaluationDatasetMetricConfig
- 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
-
#dataset ⇒ Types::EvaluationDataset
Specifies the prompt dataset.
-
#metric_names ⇒ Array<String>
The names of the metrics used.
-
#task_type ⇒ String
The task type you want the model to carry out.
Instance Attribute Details
#dataset ⇒ Types::EvaluationDataset
Specifies the prompt dataset.
1198 1199 1200 1201 1202 1203 1204 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1198 class EvaluationDatasetMetricConfig < Struct.new( :task_type, :dataset, :metric_names) SENSITIVE = [:metric_names] include Aws::Structure end |
#metric_names ⇒ Array<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
.
1198 1199 1200 1201 1202 1203 1204 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1198 class EvaluationDatasetMetricConfig < Struct.new( :task_type, :dataset, :metric_names) SENSITIVE = [:metric_names] include Aws::Structure end |
#task_type ⇒ String
The task type you want the model to carry out.
1198 1199 1200 1201 1202 1203 1204 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1198 class EvaluationDatasetMetricConfig < Struct.new( :task_type, :dataset, :metric_names) SENSITIVE = [:metric_names] include Aws::Structure end |