Guardrails for Amazon Bedrock (Preview)

Implement safeguards customized to your application requirements and responsible AI policies
guardrails for amazon bedrock homepage

Bring consistent level of AI safety across all your applications

Guardrails for Amazon Bedrock evaluates user inputs and FM responses based on use case specific policies, and provides an additional layer of safeguards regardless of the underlying FM. Guardrails can be applied across FMs, including Anthropic Claude, Meta Llama 2, Cohere Command, AI21 Labs Jurassic, and Amazon Titan Text, as well as fine-tuned models. Customers can create multiple guardrails, each configured with a different combination of controls, and use these guardrails across different applications and use cases. Guardrails can also be integrated with Agents for Amazon Bedrock to build generative AI applications aligned with your responsible AI policies.

guardrails for amazon bedrock denied topics

Block undesirable topics in your generative AI applications

Organizations recognize the need to manage interactions within generative AI applications for a relevant and safe user experience. They want to further customize interactions to remain on topics relevant to their business, and align with company policies. Using a short natural language description, Guardrails for Amazon Bedrock allows you to define a set of topics to avoid within the context of your application. Guardrails detects and blocks user inputs and FM responses that fall into the restricted topics. For example, a banking assistant can be designed to avoid topics related to investment advice.

guardrails for amazon bedrock content filters

Filter harmful content based on your responsible AI policies

Guardrails for Amazon Bedrock provides content filters with configurable thresholds to filter harmful content across hate, insults, sexual, and violence categories. Most FMs already provide built-in protections to prevent the generation of harmful responses. In addition to these protections, Guardrails lets you configure thresholds across the different categories to filter out harmful interactions. Guardrails automatically evaluate both user queries and FM responses to detect and help prevent content that falls into restricted categories. For example, an e-commerce site can design its online assistant to avoid using inappropriate language such as hate speech or insults.

pseudonymisation and gdpr icon

Redact PII to protect user privacy (coming soon)

Guardrails for Amazon Bedrock allows you to detect Personally Identifiable Information (PII) in user inputs and FM responses. Based on the use case, you can selectively reject inputs containing PII or redact PII in FM responses. For example, you can redact users’ personal information while generating summaries from customer and agent conversation transcripts in a call center.