Interface EvaluationInferenceConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationInferenceConfig.Builder,EvaluationInferenceConfig>,SdkBuilder<EvaluationInferenceConfig.Builder,EvaluationInferenceConfig>,SdkPojo
- Enclosing class:
- EvaluationInferenceConfig
@Mutable @NotThreadSafe public static interface EvaluationInferenceConfig.Builder extends SdkPojo, CopyableBuilder<EvaluationInferenceConfig.Builder,EvaluationInferenceConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EvaluationInferenceConfig.Buildermodels(Collection<EvaluationModelConfig> models)Specifies the inference models.EvaluationInferenceConfig.Buildermodels(Consumer<EvaluationModelConfig.Builder>... models)Specifies the inference models.EvaluationInferenceConfig.Buildermodels(EvaluationModelConfig... models)Specifies the inference models.EvaluationInferenceConfig.BuilderragConfigs(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.EvaluationInferenceConfig.BuilderragConfigs(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.EvaluationInferenceConfig.BuilderragConfigs(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
models
EvaluationInferenceConfig.Builder models(Collection<EvaluationModelConfig> 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
EvaluationInferenceConfig.Builder models(EvaluationModelConfig... 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
EvaluationInferenceConfig.Builder models(Consumer<EvaluationModelConfig.Builder>... 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 to#models(List.) - 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:
#models(java.util.Collection)
-
ragConfigs
EvaluationInferenceConfig.Builder 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.
- 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
EvaluationInferenceConfig.Builder 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.
- 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
EvaluationInferenceConfig.Builder 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.
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 to#ragConfigs(List.) - 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:
#ragConfigs(java.util.Collection)
-
-