PRODUCTION SCENARIO
A travel company keeps support chat transcripts for analytics and must mask phone numbers, card numbers, and email addresses before the transcripts are stored.
Which text analysis capability should the team use?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: PII detection and redaction
PII detection 'helps you identify, classify, and redact sensitive data across text, conversations, and native documents', returning entity categories, confidence scores, and redacted output. Named entity recognition categorises people, places, and organizations but returns no redacted text. Content Safety screens for harmful content such as hate or violence, a different risk class. Custom text classification labels the whole transcript and masks nothing inside it.