Skip to content
LATEST
Technology

AWS Updates Bedrock Managed Knowledge Base with Variable Retrieval Modes

AWS has introduced variable retrieval modes to its Bedrock Managed Knowledge Base, allowing developers to optimize latency and costs by selecting between…

AWS Updates Bedrock Managed Knowledge Base with Variable Retrieval Modes

Amazon Web Services (AWS) has updated its Bedrock Managed Knowledge Base to include single-shot retrieval-augmented generation (RAG) and retrieval-only modes. These features are accessible via the AgenticRetrieveStream API through a new parameter, maxAgentIteration, which allows developers to set a range from 0 to 5. This configuration determines the depth of the retrieval and generation process for each request.

A setting of 0 enables retrieval-only mode, which returns source passages without generating a synthesized answer. A setting of 1 triggers single-shot RAG, performing one retrieval followed by a single foundation-model call to generate a response. Settings of 2 through 5 maintain the existing multi-step agentic retrieval behavior, which supports iterative planning and query refinement.

This update shifts the responsibility of determining retrieval depth to the application layer. By adjusting the iteration limit, organizations can potentially reduce latency and model usage costs associated with foundation-model calls. However, AWS notes that lower iteration limits may impact the accuracy of complex queries that require multiple planning rounds or extensive evidence gathering.

Amazon Web Services

The service does not automatically route requests based on complexity; application teams must define the appropriate iteration limit for specific use cases. AWS recommends that enterprises conduct comparative testing between single-shot and agentic configurations to balance cost-efficiency with the requirement for grounded, supported answers.

This change represents an infrastructure-level adjustment to how enterprises manage AI-driven document retrieval. While the update provides greater control over compute resources, it necessitates rigorous internal evaluation to ensure that reduced model usage does not compromise the quality or completeness of automated responses. Organizations should monitor the performance of these modes against representative datasets to determine the optimal configuration for their specific operational workflows.

More stories

Latest news