Find personal data
Find personal data such as names, phone numbers, emails, addresses and ID or account numbers in a text, and get a masked copy (Azure AI Language).
Command in the Azure AI services toolkit · id ooa.azure_ai/language_pii · 6 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | azure_ai | Name of the session opened by Connect. |
| Text | String | Yes | The text to read, at most 5,120 characters. | |
| Language | String | No | en | Language of the text, e.g. en, de, fr, es or hi. |
| Categories | List | No | Only look for these kinds, e.g. ["Email", "PhoneNumber", "Person"]. Leave empty for all kinds. | |
| Domain | String | No | none | phi also looks for protected health information. |
| Minimum confidence | Number | No | 0 | Leave out findings with a lower confidence (0 to 1). |
Outputs
| Output | Type | What it is |
|---|---|---|
| redacted_text | String | The text with the personal data masked with * characters. |
| entities | Table | Columns: text, category, subcategory, confidence, offset, length. |
| count | Number | How many pieces of personal data were found. |