Class: Aws::Context::Types::RetrievalConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_iterations ⇒ Integer

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:

  • (Integer)


6107
6108
6109
6110
6111
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 6107

class RetrievalConfiguration < Struct.new(
  :max_iterations)
  SENSITIVE = []
  include Aws::Structure
end