Amazon Bedrock新增按租户定制检索指令
AWS Machine Learning Blog称,Amazon Bedrock Managed Knowledge Base现已支持托管且版本化的检索指令,可按租户定制回答。每个请求可配置角色、回答格式、检索指导和回答策略,并通过固定版本控制应用切换新指令的时间。AWS强调,检索指令并非授权或数据隔离边界,仍需使用元数据过滤器或独立知识库来限制可检索内容。
该功能允许应用共享同一知识库,同时为不同租户定制语言、格式和策略,减少在每个应用中重复维护提示词的工作。
With retrieval instructions in Amazon Bedrock Managed Knowledge Base, you can customize answers per tenant. The same product and policy documents often serve several audiences, such as customers in different regions or internal teams, and each audience needs its own answer. You set the voice, format, retrieval guidance, and answer policy that agentic retrieval applies to each request. Before this feature, you couldn’t set the answer style, so agentic retrieval could use a different style from one request to the next. For a fixed voice or structured output, you had to turn off response generation, call a model yourself, and maintain the prompt in every application.
Now you write that guidance once, as a managed, versioned Amazon Bedrock resource, and each request references it. When you change an instruction, you can pin a version so that each application switches to the new version when you’re ready.
Take AnyCompany Smart Home, a fictitious company that sells a home controller and room sensors in three sales regions. Its customer assistant serves all three regions, and its support, field sales, and legal teams use internal assistants that they built on the same documents. AnyCompany defines each region and internal team as a tenant here, and each needs a different answer. A customer in Sales Region Central needs Spanish with day/month/year dates, and a support agent needs a short ticket note. To keep the example compact, every tenant queries one knowledge base. However, agentic retrieval can search up to five knowledge bases in a single request, and the tenant’s instruction applies to all of them.
#Amazon Web Services#Amazon Bedrock Managed Knowledge Base#AgenticRetrieveStream