Customize answers per tenant in Amazon Bedrock Managed Knowledge Base
Retrieval instructions in Amazon Bedrock Managed Knowledge Base set the voice, format, retrieval guidance, and answer policy for each tenant on shared knowledge bases. This post shows how to give each tenant its own answers, keep tenant data apart with metadata filters, scope access with IAM tags, and roll out changes one tenant at a time.
Amazon Bedrock Managed Knowledge Base enables custom responses for each tenant in a system, allowing a single knowledge base to serve multiple audiences with tailored answers. This feature is useful for companies like AnyCompany Smart Home, which sells products in multiple regions and uses the same documents for diverse internal teams.
By defining an instruction for each tenant, the assistant can generate responses in the appropriate language, format, and style, while still drawing from the same shared knowledge base. Retrieval instructions consist of four fields: persona, answerFormat, retrievalGuidance, and answerPolicy. These fields allow the assistant to adjust its tone, citation format, search behavior, and response rules for each tenant.
Once created, these instructions can be activated, versioned, and applied to requests, ensuring consistent and context-specific answers. However, retrieval instructions do not control what documents the assistant can access; that is controlled by metadata filters or separate knowledge bases. This approach enables organizations to maintain a single source of truth while delivering personalized, region-specific, or team-specific responses.
Written by urgent.news from AWS Machine Learning's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.