-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from MicrosoftDocs/main
9/4/2024 AM Publish
- Loading branch information
Showing
63 changed files
with
453 additions
and
1,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,9 +47,9 @@ There are different types of analysis available from this service. The following | |
|
||
| Feature | Functionality | Concepts guide | Get started | | ||
| :-------------------------- | :---------------------- | --| --| | ||
| [Prompt Shields](/rest/api/contentsafety/text-operations/detect-text-jailbreak) (preview) | Scans text for the risk of a User input attack on a Large Language Model. | [Prompt Shields concepts](/azure/ai-services/content-safety/concepts/jailbreak-detection)|[Quickstart](./quickstart-jailbreak.md) | | ||
| [Prompt Shields](/rest/api/contentsafety/text-operations/detect-text-jailbreak) | Scans text for the risk of a User input attack on a Large Language Model. | [Prompt Shields concepts](/azure/ai-services/content-safety/concepts/jailbreak-detection)|[Quickstart](./quickstart-jailbreak.md) | | ||
| [Groundedness detection](/rest/api/contentsafety/text-groundedness-detection-operations/detect-groundedness-options) (preview) | Detects whether the text responses of large language models (LLMs) are grounded in the source materials provided by the users. | [Groundedness detection concepts](/azure/ai-services/content-safety/concepts/groundedness)|[Quickstart](./quickstart-groundedness.md) | | ||
| [Protected material text detection](/rest/api/contentsafety/text-operations/detect-text-protected-material) (preview) | Scans AI-generated text for known text content (for example, song lyrics, articles, recipes, selected web content). | [Protected material concepts](/azure/ai-services/content-safety/concepts/protected-material)|[Quickstart](./quickstart-protected-material.md)| | ||
| [Protected material text detection](/rest/api/contentsafety/text-operations/detect-text-protected-material) | Scans AI-generated text for known text content (for example, song lyrics, articles, recipes, selected web content). | [Protected material concepts](/azure/ai-services/content-safety/concepts/protected-material)|[Quickstart](./quickstart-protected-material.md)| | ||
| Custom categories API (preview) | Lets you create and train your own custom content categories and scan text for matches. | [Custom categories concepts](/azure/ai-services/content-safety/concepts/custom-categories)|[Quickstart](./quickstart-custom-categories.md) | | ||
| Custom categories (rapid) API (preview) | Lets you define emerging harmful content patterns and scan text and images for matches. | [Custom categories concepts](/azure/ai-services/content-safety/concepts/custom-categories)| [How-to guide](./how-to/custom-categories-rapid.md) | | ||
| [Analyze text](/rest/api/contentsafety/text-operations/analyze-text) API | Scans text for sexual content, violence, hate, and self harm with multi-severity levels. | [Harm categories](/azure/ai-services/content-safety/concepts/harm-categories)| [Quickstart](/azure/ai-services/content-safety/quickstart-text) | | ||
|
@@ -105,7 +105,7 @@ Currently, Azure AI Content Safety has an **F0 and S0** pricing tier. See the Az | |
See the following list for the input requirements for each feature. | ||
|
||
<!-- | ||
| | Analyze text API | Analyze image API | Prompt Shields<br>(preview) | Groundedness<br>detection (preview) | Protected material<br>detection (preview) | | ||
| | Analyze text API | Analyze image API | Prompt Shields<br> | Groundedness<br>detection (preview) | Protected material<br>detection | | ||
|-------|---|----------|----------|-----|-----| | ||
| 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). | --> | ||
|
||
|
@@ -115,13 +115,13 @@ See the following list for the input requirements for each feature. | |
- Maximum image file size: 4 MB | ||
- Dimensions between 50 x 50 and 2048 x 2048 pixels. | ||
- Images can be in JPEG, PNG, GIF, BMP, TIFF, or WEBP formats. | ||
- **Prompt Shields (preview)**: | ||
- **Prompt Shields**: | ||
- Maximum prompt length: 10K characters. | ||
- Up to five documents with a total of 10K characters. | ||
- **Groundedness detection (preview)**: | ||
- Maximum length for grounding sources: 55,000 characters (per API call). | ||
- Maximum text and query length: 7,500 characters. | ||
- **Protected material detection (preview)**: | ||
- **Protected material detection**: | ||
- Default maximum length: 1K characters. | ||
- Default minimum length: 110 characters (for scanning LLM completions, not user prompts). | ||
- **Custom categories (standard)**: | ||
|
@@ -172,7 +172,7 @@ Feel free to [contact us](mailto:[email protected]) if you need | |
|
||
Content Safety features have query rate limits in requests-per-second (RPS) or requests-per-10-seconds (RP10S) . See the following table for the rate limits for each feature. | ||
|
||
|Pricing tier | Moderation APIs<br>(text and image) | Prompt Shields<br>(preview) | Protected material<br>detection (preview) | Groundedness<br>detection (preview) | Custom categories<br>(rapid) (preview) | Custom categories<br>(standard) (preview)| | ||
|Pricing tier | Moderation APIs<br>(text and image) | Prompt Shields | Protected material<br>detection | Groundedness<br>detection (preview) | Custom categories<br>(rapid) (preview) | Custom categories<br>(standard) (preview)| | ||
|--------|---------|-------------|---------|---------|---------|--| | ||
| F0 | 1000 RP10S | 1000 RP10S | 1000 RP10S | 50 RP10S | 1000 RP10S | 5 RPS| | ||
| S0 | 1000 RP10S | 1000 RP10S | 1000 RP10S | 50 RP10S | 1000 RP10S | 5 RPS| | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.