
- 谁
- AWS
- 引文
In this post, we explain how the new settings work and when to use each mode.
发生了什么
Amazon Bedrock 托管知识库现在通过 AgenticRetrieveStream API 支持单次 RAG 和仅检索请求,同时保留现有的智能体式检索。将 maxAgentIteration 设为 1 可检索一次并生成答案;设为 0 则返回段落,不调用语言模型。设为 2 到 5 时仍采用智能体式检索,在生成答案前最多进行 n 减 1 轮规划。
推荐理由
本文介绍如何通过一个参数选择段落检索、单次答案生成或多步搜索,让应用构建者能够针对不同类型的问题,在延迟和检索工作量之间进行权衡。
接下来读什么
查看这件事的完整进展Amazon Bedrock Adds Single-Shot and Retrieval-Only Modes这件事到目前为止
Amazon Bedrock Managed Knowledge Base now supports single-shot RAG and retrieval-only requests through the AgenticRetrieveStream API, alongside agentic retrieval. Set maxAgentIteration to 1 to retrieve once and generate an answer with one foundation model call; set it to 0 to return passages without calling a model. Values from 2 to 5 keep agentic retrieval, with up to n minus 1 planning rounds before answer generation. AWS says single-shot RAG can reduce latency and model usage compared with agentic retrieval. Retrieval-only mode makes no foundation model calls.
