Skip to content

Commit 49f99ae

Browse files
committed
add input reqs list
1 parent d56dbf8 commit 49f99ae

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

articles/ai-services/content-safety/overview.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,29 @@ Currently, Azure AI Content Safety has an **F0 and S0** pricing tier. See the Az
9999

100100
### Input requirements
101101

102-
The default maximum length for text submissions is 10K characters. If you need to analyze longer blocks of text, you can split the input text (for example, by punctuation or spacing) across multiple related submissions.
102+
See the following list for the input requirements for each feature.
103+
104+
<!--
105+
| | Analyze text API | Analyze image API | Prompt Shields<br>(preview) | Groundedness<br>detection (preview) | Protected material<br>detection (preview) |
106+
|-------|---|----------|----------|-----|-----|
107+
| Input requirements: | Default maximum length: 10K characters (split longer texts as needed). | Maximum image file size: 4 MB<br>Dimensions between 50x50 and 2048x2048 pixels.<br>Images can be in JPEG, PNG, GIF, BMP, TIFF, or WEBP formats. | Maximum prompt length: 10K characters.<br>Up to five documents with a total of 10D characters. | Maximum 55,000 characters for grounding sources per API call.<br>Maximum text and query length: 7,500 characters. | Default maximum: 1K characters.<br>Minimum: 111 characters (for scanning LLM completions, not user prompts). | -->
108+
109+
- **Analyze text API**:
110+
- Default maximum length: 10K characters (split longer texts as needed).
111+
- **Analyze image API**:
112+
- Maximum image file size: 4 MB
113+
- Dimensions between 50 x 50 and 2048 x 2048 pixels.
114+
- Images can be in JPEG, PNG, GIF, BMP, TIFF, or WEBP formats.
115+
- **Prompt Shields (preview)**:
116+
- Maximum prompt length: 10K characters.
117+
- Up to five documents with a total of 10K characters.
118+
- **Groundedness detection (preview)**:
119+
- Maximum length for grounding sources: 55,000 characters (per API call).
120+
- Maximum text and query length: 7,500 characters.
121+
- **Protected material detection (preview)**:
122+
- Default maximum length: 1K characters.
123+
- Minimum length: 111 characters (for scanning LLM completions, not user prompts).
103124

104-
The maximum size for image submissions is 4 MB, and image dimensions must be between 50 x 50 pixels and 2,048 x 2,048 pixels. Images can be in JPEG, PNG, GIF, BMP, TIFF, or WEBP formats.
105125

106126
### Language support
107127

0 commit comments

Comments
 (0)