View a markdown version of this page

RetrievalConfiguration - AWS Context

RetrievalConfiguration

Bounds and configures the agent loop. The loop stops once maxIterations is reached (or the service's wall-clock ceiling elapses), or earlier once the agent judges the answer complete.

Contents

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.

Type: Integer

Valid Range: Minimum value of 2. Maximum value of 50.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: