You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/content-safety/quickstart-protected-material.md
+39-7Lines changed: 39 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: "Quickstart: Detect protected material (preview)"
2
+
title: "Quickstart: Protected Material for Text"
3
3
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.
5
5
services: ai-services
6
6
author: PatrickFarley
7
7
manager: nitinme
@@ -11,13 +11,46 @@ ms.date: 10/30/2023
11
11
ms.author: pafarley
12
12
---
13
13
14
-
# Quickstart: Detect protected material (preview)
14
+
# Quickstart: Protected Material Detection for Text
15
15
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.
17
22
18
23
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.
19
24
20
25
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
+
21
54
## Prerequisites
22
55
23
56
* 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
36
69
> 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.
37
70
38
71
```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' \
@@ -47,7 +80,7 @@ The below fields must be included in the url:
47
80
48
81
| Name |Required | Description | Type |
49
82
| :------- |-------- |:--------------- | ------ |
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 |
51
84
52
85
The parameters in the request body are defined in this table:
53
86
@@ -95,4 +128,3 @@ If you want to clean up and remove an Azure AI services subscription, you can de
95
128
96
129
*[Protected material detection concepts](./concepts/protected-material.md)
97
130
* Configure filters for each category and test on datasets using [Content Safety Studio](studio-quickstart.md), export the code and deploy.
0 commit comments