Detect personal data
Find personal data such as names, addresses, phone numbers, emails and card or account numbers in a text, and give a copy with them masked (Amazon Comprehend).
Command in the AWS AI services toolkit · id ooa.aws_ai/comprehend_detect_pii · 4 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | aws_ai | Name of the session opened by Connect. |
| Text | String | Yes | The text to read, at most 100,000 bytes. | |
| Language | String | No | en | Language of the text: en or es. |
| Minimum score | Number | No | 0 | Leave out findings scored below this (0 to 1). |
Outputs
| Output | Type | What it is |
|---|---|---|
| entities | Table | Columns: text, type, score, begin_offset, end_offset. |
| redacted_text | String | The text with each piece of personal data replaced by its type, e.g. [EMAIL]. |
| count | Number | How many pieces of personal data were found. |