Interface AutomatedEvaluationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutomatedEvaluationConfig.Builder,,AutomatedEvaluationConfig> SdkBuilder<AutomatedEvaluationConfig.Builder,,AutomatedEvaluationConfig> SdkPojo
- Enclosing class:
AutomatedEvaluationConfig
-
Method Summary
Modifier and TypeMethodDescriptioncustomMetricConfig(Consumer<AutomatedEvaluationCustomMetricConfig.Builder> customMetricConfig) Defines the configuration of custom metrics to be used in an evaluation job.customMetricConfig(AutomatedEvaluationCustomMetricConfig customMetricConfig) Defines the configuration of custom metrics to be used in an evaluation job.datasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs) Configuration details of the prompt datasets and metrics you want to use for your evaluation job.datasetMetricConfigs(Consumer<EvaluationDatasetMetricConfig.Builder>... datasetMetricConfigs) Configuration details of the prompt datasets and metrics you want to use for your evaluation job.datasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs) Configuration details of the prompt datasets and metrics you want to use for your evaluation job.evaluatorModelConfig(Consumer<EvaluatorModelConfig.Builder> evaluatorModelConfig) Contains the evaluator model configuration details.evaluatorModelConfig(EvaluatorModelConfig evaluatorModelConfig) Contains the evaluator model configuration details.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
-
datasetMetricConfigs
AutomatedEvaluationConfig.Builder datasetMetricConfigs(Collection<EvaluationDatasetMetricConfig> datasetMetricConfigs) Configuration details of the prompt datasets and metrics you want to use for your evaluation job.
- Parameters:
datasetMetricConfigs- Configuration details of the prompt datasets and metrics you want to use for your evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetMetricConfigs
AutomatedEvaluationConfig.Builder datasetMetricConfigs(EvaluationDatasetMetricConfig... datasetMetricConfigs) Configuration details of the prompt datasets and metrics you want to use for your evaluation job.
- Parameters:
datasetMetricConfigs- Configuration details of the prompt datasets and metrics you want to use for your evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetMetricConfigs
AutomatedEvaluationConfig.Builder datasetMetricConfigs(Consumer<EvaluationDatasetMetricConfig.Builder>... datasetMetricConfigs) Configuration details of the prompt datasets and metrics you want to use for your 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:
-
evaluatorModelConfig
Contains the evaluator model configuration details.
EvaluatorModelConfigis required for evaluation jobs that use a knowledge base or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.- Parameters:
evaluatorModelConfig- Contains the evaluator model configuration details.EvaluatorModelConfigis required for evaluation jobs that use a knowledge base or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorModelConfig
default AutomatedEvaluationConfig.Builder evaluatorModelConfig(Consumer<EvaluatorModelConfig.Builder> evaluatorModelConfig) Contains the evaluator model configuration details.
This is a convenience method that creates an instance of theEvaluatorModelConfigis required for evaluation jobs that use a knowledge base or in model evaluation job that use a model as judge. This model computes all evaluation related metrics.EvaluatorModelConfig.Builderavoiding the need to create one manually viaEvaluatorModelConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluatorModelConfig(EvaluatorModelConfig).- Parameters:
evaluatorModelConfig- a consumer that will call methods onEvaluatorModelConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customMetricConfig
AutomatedEvaluationConfig.Builder customMetricConfig(AutomatedEvaluationCustomMetricConfig customMetricConfig) Defines the configuration of custom metrics to be used in an evaluation job.
- Parameters:
customMetricConfig- Defines the configuration of custom metrics to be used in an evaluation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customMetricConfig
default AutomatedEvaluationConfig.Builder customMetricConfig(Consumer<AutomatedEvaluationCustomMetricConfig.Builder> customMetricConfig) Defines the configuration of custom metrics to be used in an evaluation job.
This is a convenience method that creates an instance of theAutomatedEvaluationCustomMetricConfig.Builderavoiding the need to create one manually viaAutomatedEvaluationCustomMetricConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomMetricConfig(AutomatedEvaluationCustomMetricConfig).- Parameters:
customMetricConfig- a consumer that will call methods onAutomatedEvaluationCustomMetricConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-