Skip to content

Commit 7a6d47a

Browse files
authored
Merge pull request #7 from jinruishao/patch-1
Update quickstart-protected-material.md
2 parents c63c0cc + afb337b commit 7a6d47a

File tree

1 file changed

+39
-7
lines changed

1 file changed

+39
-7
lines changed

articles/ai-services/content-safety/quickstart-protected-material.md

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: "Quickstart: Detect protected material (preview)"
2+
title: "Quickstart: Protected Material for Text"
33
titleSuffix: Azure AI services
4-
description: Learn how to detect protected material generated by large language models and mitigate risk with Azure AI Content Safety.
4+
description: Learn how to Protected Material for Text generated by large language models and mitigate risk with Azure AI Content Safety.
55
services: ai-services
66
author: PatrickFarley
77
manager: nitinme
@@ -11,13 +11,46 @@ ms.date: 10/30/2023
1111
ms.author: pafarley
1212
---
1313

14-
# Quickstart: Detect protected material (preview)
14+
# Quickstart: Protected Material Detection for Text
1515

16-
Protected material text describes language that matches known text content (for example, song lyrics, articles, recipes, selected web content). This feature can be used to identify and block known text content from being displayed in language model output (English content only). For more information, see [Protected material concepts](./concepts/protected-material.md).
16+
The "Protected Material for Text" feature provides a robust solution for managing risks associated with GenAI-generated content (English content only). By detecting and preventing the display of protected material, organizations can ensure compliance with intellectual property laws, maintain content originality, and protect their reputations. Protected material refers to content that matches known text from copyrighted sources, such as song lyrics, articles, recipes, or other selected web content.
17+
The key objectives of the "Protected Material Detection for Text" feature for GenAI-generated content are:
18+
19+
- To detect and prevent the display of protected content generated by AI models.
20+
- To enable organizations to manage risks associated with AI-generated content.
21+
- To ensure that AI-generated content complies with legal, ethical, and content policy guidelines.
1722

1823
For more information on protected material detection, see the [Protected material detection concept page](./concepts/protected-material.md). For API input limits, see the [Input requirements](./overview.md#input-requirements) section of the Overview.
1924

2025

26+
27+
## User scenarios
28+
### 1. Content generation platforms for creative writing
29+
- Scenario: A content generation platform that uses GenAI for creative writing (e.g., blog posts, stories, marketing copy) integrates the "Protected Material for Text" feature to prevent the generation of content that closely matches known copyrighted material.
30+
- User: Platform administrators and content creators.
31+
- Action: The platform uses Azure AI Content Safety to scan AI-generated content before it is provided to users. If the generated text matches protected material, the content is flagged and either blocked or revised.
32+
- Outcome: The platform avoids potential copyright infringements and ensures that all generated content is original and compliant with intellectual property laws.
33+
### 2. Automated social media content creation
34+
- Scenario: A digital marketing agency uses GenAI to automate social media content creation. The agency integrates the "Protected Material for Text" feature to avoid publishing AI-generated content that includes copyrighted text, such as song lyrics or excerpts from books.
35+
- User: Digital marketers and social media managers.
36+
- Action: The agency employs Azure AI Content Safety to check all AI-generated social media content for matches against a database of protected material. Content that matches is flagged for revision or blocked from posting.
37+
- Outcome: The agency maintains compliance with copyright laws and avoids reputational risks associated with posting unauthorized content.
38+
### 3. AI-assisted news writing
39+
- Scenario: A news outlet uses GenAI to assist journalists in drafting articles and reports. To ensure the content does not unintentionally replicate protected news articles or other copyrighted material, the outlet uses the "Protected Material for Text" feature.
40+
- User: Journalists, editors, and compliance officers.
41+
- Action: The news outlet integrates Azure AI Content Safety into its content creation workflow. AI-generated drafts are automatically scanned for protected content before submission for editorial review.
42+
- Outcome: The news outlet prevents accidental copyright violations and maintains the integrity and originality of its reporting.
43+
### 4. E-learning platforms using AI for content generation
44+
- Scenario: An e-learning platform employs GenAI to generate educational content, such as summaries, quizzes, and explanatory text. The platform uses the "Protected Material for Text" feature to ensure the generated content does not include protected material from textbooks, articles, or academic papers.
45+
- User: Educational content creators and compliance officers.
46+
- Action: The platform integrates the feature to scan AI-generated educational materials. If any content matches known protected academic material, it is flagged for revision or automatically removed.
47+
- Outcome: The platform maintains educational content quality and complies with copyright laws, avoiding the use of protected material in AI-generated learning resources.
48+
### 5. AI-powered recipe generators
49+
- Scenario: A food and recipe website uses GenAI to generate new recipes based on user preferences. To avoid generating content that matches protected recipes from famous cookbooks or websites, the website integrates the "Protected Material for Text" feature.
50+
- User: Content managers and platform administrators.
51+
- Action: The website uses Azure AI Content Safety to check AI-generated recipes against a database of known protected content. If a generated recipe matches a protected one, it is flagged and revised or blocked.
52+
- Outcome: The website ensures that all AI-generated recipes are original, reducing the risk of copyright infringement.
53+
2154
## Prerequisites
2255

2356
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/)
@@ -36,7 +69,7 @@ The following section walks through a sample request with cURL. Paste the comman
3669
> See [Input requirements](./overview.md#input-requirements) for maximum text length limitations. Protected material detection is meant to be run on LLM completions, not user prompts.
3770
3871
```shell
39-
curl --location --request POST '<endpoint>/contentsafety/text:detectProtectedMaterial?api-version=2023-10-15-preview' \
72+
curl --location --request POST '<endpoint>/contentsafety/text:detectProtectedMaterial?api-version=2024-09-01' \
4073
--header 'Ocp-Apim-Subscription-Key: <your_subscription_key>' \
4174
--header 'Content-Type: application/json' \
4275
--data-raw '{
@@ -47,7 +80,7 @@ The below fields must be included in the url:
4780

4881
| Name |Required | Description | Type |
4982
| :------- |-------- |:--------------- | ------ |
50-
| **API Version** |Required |This is the API version to be checked. The current version is: api-version=2023-10-15-preview. Example: `<endpoint>/contentsafety/text:detectProtectedMaterial?api-version=2023-10-15-preview` |String |
83+
| **API Version** |Required |This is the API version to be checked. The current version is: api-version=2024-09-01. Example: `<endpoint>/contentsafety/text:detectProtectedMaterial?api-version=2024-09-01` |String |
5184

5285
The parameters in the request body are defined in this table:
5386

@@ -95,4 +128,3 @@ If you want to clean up and remove an Azure AI services subscription, you can de
95128

96129
* [Protected material detection concepts](./concepts/protected-material.md)
97130
* Configure filters for each category and test on datasets using [Content Safety Studio](studio-quickstart.md), export the code and deploy.
98-

0 commit comments

Comments
 (0)