Interface OrchestrationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OrchestrationConfiguration.Builder,,OrchestrationConfiguration> SdkBuilder<OrchestrationConfiguration.Builder,,OrchestrationConfiguration> SdkPojo
- Enclosing class:
OrchestrationConfiguration
public static interface OrchestrationConfiguration.Builder
extends SdkPojo, CopyableBuilder<OrchestrationConfiguration.Builder,OrchestrationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionqueryTransformationConfiguration(Consumer<QueryTransformationConfiguration.Builder> queryTransformationConfiguration) To split up the prompt and retrieve multiple sources, set the transformation type toQUERY_DECOMPOSITION.queryTransformationConfiguration(QueryTransformationConfiguration queryTransformationConfiguration) To split up the prompt and retrieve multiple sources, set the transformation type toQUERY_DECOMPOSITION.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, sdkFields
-
Method Details
-
queryTransformationConfiguration
OrchestrationConfiguration.Builder queryTransformationConfiguration(QueryTransformationConfiguration queryTransformationConfiguration) To split up the prompt and retrieve multiple sources, set the transformation type to
QUERY_DECOMPOSITION.- Parameters:
queryTransformationConfiguration- To split up the prompt and retrieve multiple sources, set the transformation type toQUERY_DECOMPOSITION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryTransformationConfiguration
default OrchestrationConfiguration.Builder queryTransformationConfiguration(Consumer<QueryTransformationConfiguration.Builder> queryTransformationConfiguration) To split up the prompt and retrieve multiple sources, set the transformation type to
This is a convenience method that creates an instance of theQUERY_DECOMPOSITION.QueryTransformationConfiguration.Builderavoiding the need to create one manually viaQueryTransformationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryTransformationConfiguration(QueryTransformationConfiguration).- Parameters:
queryTransformationConfiguration- a consumer that will call methods onQueryTransformationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-