News Developer Tools

Amazon Bedrock adds per-tenant answer instructions to knowledge bases

Amazon Bedrock Managed Knowledge Base now lets teams save versioned answer instructions, so each audience gets its own voice, format and rules.

Amazon Bedrock Managed Knowledge Base now lets builders save answer instructions as a versioned resource and apply a different one to each audience, called a tenant. AWS says the same product and policy documents often serve several regions or internal teams, and each needs its own answer.

Each instruction has four fields: persona sets identity, tone and language, answerFormat sets structure and citations, retrievalGuidance shapes how the agent reads the question and searches, and answerPolicy governs whether and how to answer. AWS says the first, second and fourth fields apply only when response generation is on, which is the default. Retrieval guidance applies either way.

Before this feature, AWS says, users could not set the answer style, so agentic retrieval, which searches the knowledge base on its own, could vary its style between requests. Builders who wanted a fixed voice had to turn off response generation, call a model themselves, and maintain the prompt in every application. Now each request references the managed instruction, and a builder can pin a version so an application switches only when ready.

AWS gives an example of a fictional smart home company. A customer in one sales region gets a Spanish answer with day/month/year dates and a source line, while a support agent gets a short ticket note. One request can search up to five knowledge bases, and the tenant's instruction applies to all of them. AWS states that these instructions change how the assistant answers but are not an authorization or data-isolation boundary. Metadata filters or separate knowledge bases control what each tenant can retrieve.

Source: Customize answers per tenant in Amazon Bedrock Managed Knowledge Base | Artificial Intelligence.