Skip to content

Commit 6a6b442

Browse files
authored
Merge pull request #344 from PatrickFarley/consaf-updates
Consaf updates
2 parents cae02c7 + 9e31ec4 commit 6a6b442

File tree

8 files changed

+24
-17
lines changed

8 files changed

+24
-17
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This implementation works on text content and image content.
5151

5252
#### [Custom categories (standard) API](#tab/standard)
5353

54-
The Azure AI Content Safety custom category feature uses a multi-step process for creating, training, and using custom content classification models. Here's a look at the workflow:
54+
The Azure AI Content Safety custom categories feature uses a multi-step process for creating, training, and using custom content classification models. Here's a look at the workflow:
5555

5656
### Step 1: Definition and setup
5757

@@ -73,7 +73,7 @@ You use the **analyzeCustomCategory** API to analyze text content and determine
7373

7474
#### [Custom categories (rapid) API](#tab/rapid)
7575

76-
To use the custom category (rapid) API, you first create an **incident** object with a text description. Then, you upload any number of image or text samples to the incident. The LLM on the backend will then use these to evaluate future input content. No training step is needed.
76+
To use the custom categories (rapid) API, you first create an **incident** object with a text description. Then, you upload any number of image or text samples to the incident. The LLM on the backend will then use these to evaluate future input content. No training step is needed.
7777

7878
You can include your defined incident in a regular text analysis or image analysis request. The service will indicate whether the submitted content is an instance of your incident. The service can still do other content moderation tasks in the same API call.
7979

articles/ai-services/content-safety/faq.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ sections:
4040
- question: |
4141
Can I detect harmful content in custom categories that I define myself?
4242
answer: |
43-
Yes, you can use the Azure AI Content Safety custom categories API to create categories, upload examples, and train the service to detect similar content. Custom categories are available for both text and image moderation.
43+
Yes, you can use the Azure AI Content Safety custom categories (standard) API to create categories, upload examples, and train the service to detect similar content. Custom categories are available for both text and image moderation.
4444
- question: |
4545
How does billing work for the Azure AI Content Safety service?
4646
answer: |

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Use the custom category API (preview)"
2+
title: "Use the custom categories API (preview)"
33
titleSuffix: Azure AI services
4-
description: Learn how to use the custom category API to create your own harmful content categories and train the Content Safety model for your use case.
4+
description: Learn how to use the custom categories API to create your own harmful content categories and train the Content Safety model for your use case.
55
#services: cognitive-services
66
author: PatrickFarley
77
manager: nitinme
@@ -227,7 +227,7 @@ print(result)
227227

228228
---
229229

230-
## Other custom category operations
230+
## Other custom categories operations
231231

232232
Remember to replace the placeholders below with your actual values for the API key, endpoint, and specific content (category name, definition, and so on). These examples help you to manage the customized categories in your account.
233233

articles/ai-services/content-safety/index.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ landingContent:
4444
links:
4545
- text: Harm categories
4646
url: concepts/harm-categories.md
47-
- text: Custom categories (preview)
47+
- text: Custom categories (standard) (preview)
4848
url: concepts/custom-categories.md
4949
- linkListType: quickstart
5050
links:
@@ -54,7 +54,7 @@ landingContent:
5454
url: quickstart-image.md?pivots=programming-language-rest
5555
- linkListType: how-to-guide
5656
links:
57-
- text: Use custom categories (preview)
57+
- text: Use custom categories (standard) (preview)
5858
url: how-to/custom-categories.md
5959

6060

@@ -64,7 +64,7 @@ landingContent:
6464
links:
6565
- text: Harm categories
6666
url: concepts/harm-categories.md
67-
- text: Custom categories (preview)
67+
- text: Custom categories (standard) (preview)
6868
url: concepts/custom-categories.md
6969
- text: Groundedness detection
7070
url: concepts/groundedness.md
@@ -78,7 +78,7 @@ landingContent:
7878
url: quickstart-groundedness.md
7979
- linkListType: how-to-guide
8080
links:
81-
- text: Use custom categories (preview)
81+
- text: Use custom categories (standard) (preview)
8282
url: how-to/custom-categories.md
8383
- text: Use a blocklist
8484
url: how-to/use-blocklist.md

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This service makes several different types of analysis available. The following
4949
| [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) |
5050
| [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) |
5151
| [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)|
52-
| 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) |
52+
| Custom categories (standard) 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) |
5353
| 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) |
5454
| [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) |
5555
| [Analyze image](/rest/api/contentsafety/image-operations/analyze-image) API | Scans images 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-image) |

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Quickstart: Custom categories (preview)"
33
titleSuffix: Azure AI services
4-
description: Use the custom category API to create your own harmful content categories and train the Content Safety model for your use case.
4+
description: Use the custom categories API to create your own harmful content categories and train the Content Safety model for your use case.
55
#services: cognitive-services
66
author: PatrickFarley
77
manager: nitinme
@@ -13,7 +13,7 @@ ms.author: pafarley
1313

1414
# Quickstart: Custom categories (standard mode) (preview)
1515

16-
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.
16+
Follow this guide to use Azure AI Content Safety Custom categories (standard) 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

1818
For more information on Custom categories, see the [Custom categories concept page](./concepts/custom-categories.md). For API input limits, see the [Input requirements](./overview.md#input-requirements) section of the Overview.
1919

@@ -214,6 +214,6 @@ print(result)
214214

215215
## Related content
216216

217-
* For information on other Custom category operations, see the [How-to guide](./how-to/custom-categories.md).
217+
* For information on other Custom categories operations, see the [How-to guide](./how-to/custom-categories.md).
218218
* [Custom categories concepts](./concepts/custom-categories.md)
219219
* [Moderate content with Content Safety](./quickstart-text.md)

articles/ai-services/content-safety/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ items:
5757
href: /legal/cognitive-services/content-safety/data-privacy?context=/azure/ai-services/content-safety/context/context
5858
- name: How-to guides
5959
items:
60-
- name: Use custom categories (preview)
60+
- name: Use custom categories (standard) (preview)
6161
href: how-to/custom-categories.md
62+
- name: Use custom categories (rapid) (preview)
63+
href: how-to/custom-categories-rapid.md
6264
- name: Use a blocklist
6365
href: how-to/use-blocklist.md
64-
- name: Handle harmful content incidents
65-
href: how-to/custom-categories-rapid.md
6666
- name: Encryption of data at rest
6767
href: how-to/encrypt-data-at-rest.md
6868
- name: Migrate from public preview to GA

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ 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+
## August 2024
20+
21+
The Prompt Shields API and groundedness detection API are now generally available (GA). Follow a quickstart to try them out.
22+
* [Prompt Shields quickstart](/azure/ai-services/content-safety/quickstart-jailbreak)
23+
* [Groundedness detection quickstart](/azure/ai-services/content-safety/quickstart-groundedness?tabs=curl)
24+
25+
1926
## July 2024
2027

2128
### Custom categories (standard) API public preview

0 commit comments

Comments
 (0)