Interface EvaluationInferenceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationInferenceConfig.Builder,,EvaluationInferenceConfig> SdkBuilder<EvaluationInferenceConfig.Builder,,EvaluationInferenceConfig> SdkPojo
- Enclosing class:
EvaluationInferenceConfig
-
Method Summary
Modifier and TypeMethodDescriptionmodels(Collection<EvaluationModelConfig> models) Specifies the inference models.models(Consumer<EvaluationModelConfig.Builder>... models) Specifies the inference models.models(EvaluationModelConfig... models) Specifies the inference models.ragConfigs(Collection<RAGConfig> ragConfigs) Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.ragConfigs(Consumer<RAGConfig.Builder>... ragConfigs) Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.ragConfigs(RAGConfig... ragConfigs) Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.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
-
models
Specifies the inference models.
- Parameters:
models- Specifies the inference models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Specifies the inference models.
- Parameters:
models- Specifies the inference models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Specifies the inference models.
This is a convenience method that creates an instance of theEvaluationModelConfig.Builderavoiding the need to create one manually viaEvaluationModelConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodels(List<EvaluationModelConfig>).- Parameters:
models- a consumer that will call methods onEvaluationModelConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ragConfigs
Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.
- Parameters:
ragConfigs- Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ragConfigs
Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.
- Parameters:
ragConfigs- Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ragConfigs
Contains the configuration details of the inference for a knowledge base evaluation job, including either the retrieval only configuration or the retrieval with response generation configuration.
This is a convenience method that creates an instance of theRAGConfig.Builderavoiding the need to create one manually viaRAGConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toragConfigs(List<RAGConfig>).- Parameters:
ragConfigs- a consumer that will call methods onRAGConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-