
The Question Your Bank's Chatbot Must Never Answer
How Amazon Bedrock Guardrails work, what to decide before you switch one on, and what they can't catch.
Ask a bank's chatbot which stock to buy and it will answer. It has no idea it shouldn't.
That's the awkward thing about these models. They're built to help, and they'll help with anything. In a bank, personal investment advice isn't a small slip. It's a job for a licensed person who answers for what they say.
Amazon Bedrock's answer is called a guardrail. It's a checkpoint that reads what the customer types on the way in and what the model writes on the way out, and stops anything that breaks your rules. The setup screens keep input and output settings separate, so you can be strict in one direction and relaxed in the other.
I built one in an AWS training lab, with a financial firm as the pretend customer. Here are the four decisions you'd face if you built your own, and a six-prompt test to run before you trust it.
Eight steps, almost all optional
The console builds a guardrail in eight steps. Every step between the first and the last is labeled optional: content filters, denied topics, word filters, sensitive information, grounding checks, automated reasoning. The console labels every one of them optional, so a guardrail built in a hurry can look finished and end up just protecting very little

Word filters sit beside it: a profanity switch plus a list of phrases you type in. They match what you list and nothing cleverer. They're fine for a banned product name or a swear word, and no substitute for the topic rule.

Mask it or block it
For personal data, you choose type by type. Masking swaps the private piece for a placeholder and lets the message through. Blocking stops the message. The lab masks names, phone numbers and emails, and blocks card numbers, expiry dates and security codes. That's a reasonable rule of thumb its good to mask what the conversation can survive losing, block what should never travel at all. You can also add your own pattern, such as an account number format.
Decision 3: How strict
The content filters cover hate, insults, sexual content, violence and more, each with a strength from None to High. All four categories visible on my screen were set to Block at High. Text checking was on and image checking was off, which matters if your app accepts photos. A checkbox reuses the same settings for the model's replies as for the customer's prompts. Untick it if you want them different.

What a guardrail can't do
It lowers the odds. It doesn't remove them. AWS describes sensitive-data detection as probabilistic, which means some things can slip past. Use it as one layer next to testing and monitoring .So its still super important to keep a human in the mix looking after guard rail to avoid any slip ups.
The short version
- Decide what's off limits, and describe it in plain English.
- For each kind of personal data, choose mask or block on purpose.
- Set strictness deliberately, then test it on ordinary messages.
- Write the refusal your customers will actually read.
- Test a saved version, never the draft.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article