Skip to content

Commit be42a63

Browse files
author
Carey MacDonald
committed
Minor fix
1 parent a3614fc commit be42a63

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/search/cognitive-search-skill-pii-detection.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@ Parameters are case-sensitive and all are optional.
124124
```
125125

126126

127-
## Error cases
128-
If the language code for the document is unsupported, an error is returned and no entities are extracted.
127+
## Error and warning cases
128+
If the language code for the document is unsupported, a warning is returned and no entities are extracted.
129+
If your text is empty, a warning will be produced.
130+
If your text is larger than 50,000 characters, only the first 50,000 characters will be analyzed and a warning will be issued.
129131

130132
If the skill returns a warning, the output `maskedText` may be empty. This means that if you expect that output to exist for input into later skills, it will not work as intended. Keep this in mind when writing your skillset definition.
131133

0 commit comments

Comments
 (0)