You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# How to detect and redact Personally Identifying Information (PII)
17
17
18
-
The PII feature can evaluate unstructured text, extract and redact sensitive information (PII) and health information (PHI) in text across several [pre-defined categories](concepts/entity-categories.md).
18
+
The PII feature can evaluate unstructured text, extract, and redact sensitive information (PII) and health information (PHI) in text across several [predefined categories](concepts/entity-categories.md).
19
19
20
20
21
21
## Development options
@@ -30,22 +30,22 @@ By default, this feature uses the latest available AI model on your text. You ca
30
30
31
31
### Input languages
32
32
33
-
When you submit documents to be processed, you can specify which of [the supported languages](language-support.md) they're written in. if you don't specify a language, extraction defaults to English. The API may return offsets in the response to support different [multilingual and emoji encodings](../concepts/multilingual-emoji-support.md).
33
+
When you submit documents to be processed, you can specify which of [the supported languages](language-support.md) they're written in. If you don't specify a language, extraction defaults to English. The API may return offsets in the response to support different [multilingual and emoji encodings](../concepts/multilingual-emoji-support.md).
In version 2024-11-5-preview, you're able to define the `redactionPolicy` parameter to reflect the redaction policy to be used when redacting text. The policy field supports 3 policy types:
36
+
In version 2024-11-5-preview, you're able to define the `redactionPolicy` parameter to reflect the redaction policy to be used when redacting text. The policy field supports three policy types:
37
37
38
38
-`DoNotRedact`
39
39
-`MaskWithCharacter` (default)
40
40
-`MaskWithEntityType`
41
41
42
-
The `DoNotRedact` policy allows the user to return the response without the `redactedText` field, i.e. “John Doe received a call from 424-878-9192”,.
42
+
The `DoNotRedact` policy allows the user to return the response without the `redactedText` field, that is, “John Doe received a call from 424-878-9192”.
43
43
44
-
The `MaskWithRedactionCharacter` policy allows the `redactedText` to be masked with a character (such as "*"), preserving the length and offset of the original text, i.e. “******** received a call from ************”. This is the existing behavior.
44
+
The `MaskWithRedactionCharacter` policy allows the `redactedText` to be masked with a character (such as "*"), preserving the length and offset of the original text, that is, “******** received a call from ************”. This is the existing behavior.
45
45
46
-
There is also an optional field called `redactionCharacter` where you can input the character to be used in redaction if you're using the `MaskWithCharacter` policy
46
+
There's also an optional field called `redactionCharacter` where you can input the character to be used in redaction if you're using the `MaskWithCharacter` policy
47
47
48
-
The `MaskWithEntityType` policy allows you to mask the detected PII entity text with the detected entity type, i.e. “[PERSON_1] received a call from [PHONENUMBER_1]”.
48
+
The `MaskWithEntityType` policy allows you to mask the detected PII entity text with the detected entity type, that is, “[PERSON_1] received a call from [PHONENUMBER_1]”.
0 commit comments