Oriel — AI & technology worth noticing, every day.

Single-shot and agentic retrieval with Amazon Bedrock Managed Knowledge Base

Web page · https://aws.amazon.com/blogs/machine-learning/single-shot-and-agentic-retrieval-with-amazon-bedrock-managed-knowledge-base

Amazon Bedrock Managed Knowledge Base now supports single-shot RAG and retrieval-only requests through AgenticRetrieveStream, alongside agentic retrieval. This post explains how the maxAgentIteration parameter matches retrieval effort to each request, using an illustrative internal banking policy assistant.

First seen by Oriel on .

AI summary

Amazon Bedrock Managed Knowledge Base now lets AgenticRetrieveStream handle retrieval-only, single-shot RAG, and multi-step agentic retrieval through the maxAgentIteration setting.

  • Set maxAgentIteration=0 and generateResponse=false to retrieve deduplicated passages with zero foundation model calls; enabling response generation returns a 4xx error.
  • Set maxAgentIteration=1 for one retrieval followed by one grounded answer, reducing latency and model usage for direct, well-scoped questions.
  • Values 2–5 provide up to n minus 1 planning rounds, supporting query decomposition, evidence evaluation, refined searches, and answers with citations.
  • All modes support multiple knowledge bases, but applications must select the appropriate mode; the parameter does not provide automatic routing.
  • Retrieval-only streaming results omit the score and location fields available from a direct Retrieve call, despite equivalent retrieval behavior.

#amazon bedrock #rag #agentic retrieval #knowledge bases

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
AWS Machine Learning Blog85e11029965ec714b8161f63f048a12f65fd6a97https://aws.amazon.com/blogs/machine-learning/single-shot-and-agentic-retrieval-with-amazon-bedrock-managed-knowledge-base/ Read discussion