Interface StreamRetrievalConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StreamRetrievalConfiguration.Builder,,StreamRetrievalConfiguration> SdkBuilder<StreamRetrievalConfiguration.Builder,,StreamRetrievalConfiguration> SdkPojo
- Enclosing class:
StreamRetrievalConfiguration
@Mutable
@NotThreadSafe
public static interface StreamRetrievalConfiguration.Builder
extends SdkPojo, CopyableBuilder<StreamRetrievalConfiguration.Builder,StreamRetrievalConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionmaxIterations(Integer maxIterations) The maximum number of agent turns, from 2 to 50.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
-
maxIterations
The maximum number of agent turns, from 2 to 50. One turn is roughly one round of tool calls and their results. If you omit it, AWS Context uses 30. The minimum is 2, because the agent needs at least one planning turn and one acting turn.
- Parameters:
maxIterations- The maximum number of agent turns, from 2 to 50. One turn is roughly one round of tool calls and their results. If you omit it, AWS Context uses 30. The minimum is 2, because the agent needs at least one planning turn and one acting turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-