Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Remove a specific list of words and phrases from conversations with word filters

Focus mode
Remove a specific list of words and phrases from conversations with word filters - Amazon Bedrock

Amazon Bedrock Guardrails has word filters that you can use to block words and phrases (exact match) in input prompts and model responses. You can use following word filters to block profanity, offensive, or inappropriate content, or content with competitor or product names.

  • Profanity filter – Turn on to block profane words. The list of profanities is based on conventional definitions of profanity and it's continually updated.

  • Custom word filter – Add custom words and phrases using the AWS Management Console of up to three words to a list. You can add up to 10,000 items to the custom word filter.

    You have the following options for adding words and phrases using the Amazon Bedrock AWS Management Console:

    • Add manually in the text editor.

    • Upload a .txt or .csv file.

    • Upload an object from an Amazon S3 bucket.

    Note

    You can only upload documents and objects using the AWS Management Console. API and SDK operations only support text, and do not include the upload of documents and objects.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.