Skip to content

Commit c2d56b6

Browse files
Merge pull request #60 from jr-MS/content-safety-louise-update
update from Louise
2 parents 32a6fc5 + 11134a2 commit c2d56b6

File tree

6 files changed

+31
-21
lines changed

6 files changed

+31
-21
lines changed

articles/ai-services/content-safety/concepts/custom-categories.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,11 @@ See the following table for the input limitations of the custom categories (stan
9595
| Object | Limitation |
9696
| ---------------- | ------------ |
9797
| Supported languages | English only |
98-
| Number of categories per user | 5 |
99-
| Number of versions per category | 5 |
98+
| Number of categories per user | 3 |
99+
| Number of versions per category | 3 |
100100
| Number of concurrent builds (processes) per category | 1 |
101-
| Inference operations per second | 10 |
102-
| Number of custom categories in one text analyze request | 5 |
103-
| Number of samples in a category version | minimum 50, maximum 10K (no duplicate samples allowed) |
101+
| Inference operations per second | 5 |
102+
| Number of samples in a category version | Positive samples(required):minimum 50, maximum 5K<br>In total (both negative and positive samples): 10K<br>No duplicate samples allowed. |
104103
| Sample file size | maximum 128000 bytes |
105104
| Length of a text sample | maximum 125K characters |
106105
| Length of a category definition | maximum 1000 chars |

articles/ai-services/content-safety/concepts/response-codes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,9 @@ The content APIs may return the following error codes:
2424
| InternalError | Some unexpected situations on the server side have been triggered. | You may want to retry a few times after a small period and see it the issue happens again. <br/> Contact Azure Support if this issue persists. |
2525
| ServerBusy | The server side cannot process the request temporarily. | You may want to retry a few times after a small period and see it the issue happens again. <br/>Contact Azure Support if this issue persists. |
2626
| TooManyRequests | The current RPS has exceeded the quota for your current SKU. | Check the pricing table to understand the RPS quota. <br/>Contact Azure Support if you need more QPS. |
27+
28+
29+
## Azure AI Studio error messages
30+
31+
If you encounter the error **Your account does not have access to this resource, please contact your resource owner to get access**, please ensure your account is assigned the role of `Cognitive Services User` for the Content Safety resource or Azure AI Services resource you are using.
32+

articles/ai-services/content-safety/how-to/custom-categories.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ ms.date: 04/11/2024
1212
ms.author: pafarley
1313
---
1414

15-
# Use the custom category API
15+
# Use the custom categories (standard) API
1616

1717

18-
The custom category API lets you create your own content categories for your use case and train Azure AI Content Safety to detect them in new content.
18+
The custom categories (standard) API lets you create your own content categories for your use case and train Azure AI Content Safety to detect them in new content.
1919

2020
> [!IMPORTANT]
2121
> This feature is only available in certain Azure regions. See [Region availability](../overview.md#region-availability).

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

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ See the following list for the input requirements for each feature.
130130

131131
Content Safety models have been specifically trained and tested in the following languages: English, German, Japanese, Spanish, French, Italian, Portuguese, and Chinese. However, the service can work in many other languages, but the quality might vary. In all cases, you should do your own testing to ensure that it works for your application.
132132

133+
Custom Categories currently only works well in English. You can try to use other languages with your own dataset, but the quality might vary across languages.
134+
133135
For more information, see [Language support](/azure/ai-services/content-safety/language-support).
134136

135137
### Region availability
@@ -139,20 +141,20 @@ To use the Content Safety APIs, you must create your Azure AI Content Safety res
139141
|Region | Moderation APIs | Prompt Shields<br>(preview) | Protected material<br>detection (preview) | Groundedness<br>detection (preview) | Custom categories<br>(rapid) (preview) | Custom categories<br>(standard) | Blocklists |
140142
|---|---|---|---|---|---|---|--|
141143
| East US ||||||||
142-
| East US 2 || | || | ||
144+
| East US 2 || | || | ||
143145
| West US | | | | || | |
144-
| West US 2 || | | | | ||
146+
| West US 2 || | | | | ||
145147
| Central US || | | | | ||
146-
| North Central US || | | | | ||
147-
| South Central US || | | | | ||
148-
| Canada East || | | | | ||
149-
| Switzerland North || | | | | ||
148+
| North Central US || | | | | ||
149+
| South Central US || | | | | ||
150+
| Canada East || | | | | ||
151+
| Switzerland North || | | || ||
150152
| Sweden Central || | ||| ||
151-
| UK South || | | | | ||
152-
| France Central || | | | | ||
153-
| West Europe |||| | | ||
154-
| Japan East || | | | | ||
155-
| Australia East||| | | | ||
153+
| UK South || | | | | ||
154+
| France Central || | | | | ||
155+
| West Europe |||| | | ||
156+
| Japan East || | | | | ||
157+
| Australia East||| | | | ||
156158

157159
Feel free to [contact us](mailto:[email protected]) if you need other regions for your business.
158160

articles/ai-services/content-safety/quickstart-custom-categories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.date: 07/03/2024
1111
ms.author: pafarley
1212
---
1313

14-
# Quickstart: Custom categories
14+
# Quickstart: Custom categories (standard mode)
1515

1616
Follow this guide to use Azure AI Content Safety Custom category REST API to create your own content categories for your use case and train Azure AI Content Safety to detect them in new text content.
1717

articles/ai-services/content-safety/whats-new.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ ms.author: pafarley
1616

1717
Learn what's new in the service. These items might be release notes, videos, blog posts, and other types of information. Bookmark this page to stay up to date with new features, enhancements, fixes, and documentation updates.
1818

19-
## May 2024
19+
## July 2024
2020

21-
### Custom category support in Content Safety moderation APIs
21+
### Custom categories (standard) API
2222

2323
The custom categories API lets you create and train your own custom content categories and scan text for matches. See [Custom categories](./concepts/custom-categories.md) to learn more.
2424

25+
## May 2024
26+
27+
2528
### Custom categories (rapid) API
2629

2730
The custom categories (rapid) API lets you quickly define emerging harmful content patterns and scan text and images for matches. See [Custom categories](./concepts/custom-categories.md) to learn more.

0 commit comments

Comments
 (0)