Interface HumanEvaluationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HumanEvaluationConfig.Builder,,HumanEvaluationConfig> SdkBuilder<HumanEvaluationConfig.Builder,,HumanEvaluationConfig> SdkPojo
- Enclosing class:
HumanEvaluationConfig
-
Method Summary
Modifier and TypeMethodDescriptioncustomMetrics(Collection<HumanEvaluationCustomMetric> customMetrics) AHumanEvaluationCustomMetricobject.customMetrics(Consumer<HumanEvaluationCustomMetric.Builder>... customMetrics) AHumanEvaluationCustomMetricobject.customMetrics(HumanEvaluationCustomMetric... customMetrics) AHumanEvaluationCustomMetricobject.datasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.datasetMetricConfigs(Consumer<EvaluationDatasetMetricConfig.Builder>... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.datasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.default HumanEvaluationConfig.BuilderhumanWorkflowConfig(Consumer<HumanWorkflowConfig.Builder> humanWorkflowConfig) The parameters of the human workflow.humanWorkflowConfig(HumanWorkflowConfig humanWorkflowConfig) The parameters of the human workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
humanWorkflowConfig
The parameters of the human workflow.
- Parameters:
humanWorkflowConfig- The parameters of the human workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
humanWorkflowConfig
default HumanEvaluationConfig.Builder humanWorkflowConfig(Consumer<HumanWorkflowConfig.Builder> humanWorkflowConfig) The parameters of the human workflow.
This is a convenience method that creates an instance of theHumanWorkflowConfig.Builderavoiding the need to create one manually viaHumanWorkflowConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohumanWorkflowConfig(HumanWorkflowConfig).- Parameters:
humanWorkflowConfig- a consumer that will call methods onHumanWorkflowConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customMetrics
A
HumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Parameters:
customMetrics- AHumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetrics
A
HumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Parameters:
customMetrics- AHumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetrics
HumanEvaluationConfig.Builder customMetrics(Consumer<HumanEvaluationCustomMetric.Builder>... customMetrics) A
This is a convenience method that creates an instance of theHumanEvaluationCustomMetricobject. It contains the names the metrics, how the metrics are to be evaluated, an optional description.HumanEvaluationCustomMetric.Builderavoiding the need to create one manually viaHumanEvaluationCustomMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomMetrics(List<HumanEvaluationCustomMetric>).- Parameters:
customMetrics- a consumer that will call methods onHumanEvaluationCustomMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetMetricConfigs
HumanEvaluationConfig.Builder datasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
- Parameters:
datasetMetricConfigs- Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetMetricConfigs
HumanEvaluationConfig.Builder datasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
- Parameters:
datasetMetricConfigs- Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetMetricConfigs
HumanEvaluationConfig.Builder datasetMetricConfigs(Consumer<EvaluationDatasetMetricConfig.Builder>... datasetMetricConfigs) Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.
This is a convenience method that creates an instance of theEvaluationDatasetMetricConfig.Builderavoiding the need to create one manually viaEvaluationDatasetMetricConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetMetricConfigs(List<EvaluationDatasetMetricConfig>).- Parameters:
datasetMetricConfigs- a consumer that will call methods onEvaluationDatasetMetricConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-