Replacing phone numbers in assistant replies with a placeholder

AIF-C01 Guidelines for Responsible AI Medium Question 11 of 65

A company wants its support assistant to replace any phone number in a response with a placeholder and still return the rest of the response to the customer.

Which Amazon Bedrock Guardrails setting will meet this requirement?

Show answer and explanation

BAnonymize the detected PHONE entity in the guardrail.

PHONE is a built-in entity type, and the Anonymize action masks the detected value and replaces it with the entity type while the rest of the response is returned. Blocking responses that contain a phone number discards the whole answer. A denied topic describes a subject, and AWS states that topic filtering should not capture entity types. Word filters match exact strings, so a list of area codes misses most ways a number is written.

Source: docs.aws.amazon.com/bedrock/latest/userguide/guardrails-sen…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 65 original AIF-C01 practice questions