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/concepts/protected-material.md
+77-3Lines changed: 77 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,84 @@ keywords:
15
15
16
16
# Protected material detection
17
17
18
-
The [Protected material text API](../quickstart-protected-material.md) flags known text content (for example, song lyrics, articles, recipes, and selected web content) that might be output by large language models. This guide provides details about the kind of content that the protected material API detects.
18
+
The [Protected material text API](../quickstart-protected-material.md) flags known text content (for example, song lyrics, articles, recipes, and selected web content) that might be output by large language models.
19
19
20
-
## Protected material examples
20
+
The [Protected material code API](../quickstart-protected-material-code.md) flags protected code content (from known GitHub repositories, including software libraries, source code, algorithms, and other proprietary programming content) that might be output by large language models.
21
+
22
+
By detecting and preventing the display of protected material, organizations can ensure compliance with intellectual property laws, maintain content originality, and protect their reputations.
23
+
24
+
This guide provides details about the kinds of content that the protected material API detects.
25
+
26
+
## User scenarios
27
+
28
+
#### [Protected text](#tab/text)
29
+
30
+
### Content generation platforms for creative writing
31
+
- Scenario: A content generation platform that uses generative AI for creative writing (for example, blog posts, stories, marketing copy) integrates the Protected Material for Text feature to prevent the generation of content that closely matches known copyrighted material.
32
+
- User: Platform administrators and content creators.
33
+
- Action: The platform uses Azure AI Content Safety to scan AI-generated content before it's provided to users. If the generated text matches protected material, the content is flagged and either blocked or revised.
34
+
- Outcome: The platform avoids potential copyright infringements and ensures that all generated content is original and compliant with intellectual property laws.
35
+
36
+
### Automated social media content creation
37
+
- Scenario: A digital marketing agency uses generative AI 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.
38
+
- User: Digital marketers and social media managers.
39
+
- 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.
40
+
- Outcome: The agency maintains compliance with copyright laws and avoids reputational risks associated with posting unauthorized content.
41
+
42
+
### AI-assisted news writing
43
+
- Scenario: A news outlet uses generative AI 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.
44
+
- User: Journalists, editors, and compliance officers.
45
+
- 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.
46
+
- Outcome: The news outlet prevents accidental copyright violations and maintains the integrity and originality of its reporting.
47
+
48
+
### E-learning platforms using AI for content generation
49
+
- Scenario: An e-learning platform employs generative AI 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.
50
+
- User: Educational content creators and compliance officers.
51
+
- 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.
52
+
- Outcome: The platform maintains educational content quality and complies with copyright laws, avoiding the use of protected material in AI-generated learning resources.
53
+
54
+
### AI-powered recipe generators
55
+
- Scenario: A food and recipe website uses generative AI 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.
56
+
- User: Content managers and platform administrators.
57
+
- 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.
58
+
- Outcome: The website ensures that all AI-generated recipes are original, reducing the risk of copyright infringement.
59
+
60
+
#### [Protected code](#tab/code)
61
+
62
+
### Software Development Platforms
63
+
- Scenario: A software development platform that utilizes generative AI to help developers write code integrates the Protected Material for Code feature to prevent the generation of code that replicates material from existing GitHub repositories.
64
+
- User: Platform administrators, developers.
65
+
- Action: The platform uses Azure AI Content Safety to scan AI-generated code. If any code matches protected material, it's flagged for review, revised, or blocked.
66
+
- Outcome: The platform ensures that all AI-generated code is original and complies with licensing agreements, reducing legal and compliance risks.
67
+
68
+
### Automated Code Writing Tools
69
+
- Scenario: A development team uses generative AI to automate parts of their code writing. The team integrates the Protected Material for Code feature to prevent the accidental use of code snippets that match content from existing GitHub repositories, including open-source code with restrictive licenses.
70
+
- User: Software developers, DevOps teams.
71
+
- Action: Azure AI Content Safety checks the generated code against known material from GitHub repositories. If a match is found, the code is flagged and revised before it is incorporated into the project.
72
+
- Outcome: The team avoids potential copyright infringement and ensures the AI-generated code adheres to appropriate licenses.
73
+
74
+
### AI-assisted Code Reviews
75
+
- Scenario: A software company integrates AI-assisted code review tools into its development process. To avoid introducing protected code from GitHub or external libraries, the company leverages the Protected Material for Code feature.
- Action: The company scans all AI-generated code for matches against protected material from GitHub repositories before final code review and deployment.
78
+
- Outcome: The company prevents the inclusion of protected material in their projects, maintaining compliance with intellectual property laws and internal standards.
79
+
80
+
### AI-generated Code for Educational Platforms
81
+
- Scenario: An e-learning platform uses generative AI to generate example code for programming tutorials and courses. The platform integrates the Protected Material for Code feature to ensure that generated examples do not duplicate code from existing GitHub repositories or other educational sources.
82
+
- User: Course creators, platform administrators.
83
+
- Action: Azure AI Content Safety checks all AI-generated code examples for protected content. Matches are flagged, reviewed, and revised.
84
+
- Outcome: The platform maintains the integrity and originality of its educational content while adhering to copyright laws.
85
+
86
+
### AI-powered Coding Assistants
87
+
- Scenario: A coding assistant tool powered by generative AI helps developers by generating code suggestions. To ensure that no suggestions infringe on code from GitHub repositories, the assistant tool uses the Protected Material for Code feature.
88
+
- User: Developers, tool administrators.
89
+
- Action: The tool scans all code suggestions for protected material from GitHub before presenting them to developers. If a suggestion matches protected code, it is flagged and not shown.
90
+
- Outcome: The coding assistant ensures that all code suggestions are free from protected content, fostering originality and reducing legal risks.
91
+
By integrating the Protected Material for Code feature, organizations can manage risks associated with AI-generated code, maintain compliance with intellectual property laws, and ensure the originality of their code outputs.
92
+
93
+
---
94
+
95
+
## Protected material text examples
21
96
22
97
Refer to this table for details of the major categories of protected material text detection. All four categories are applied when you call the API.
23
98
@@ -29,7 +104,6 @@ Refer to this table for details of the major categories of protected material te
29
104
| Lyrics | Only focuses on issues of copyrighted content around Songs. <br><br> Other harmful or sensitive text is out of scope for this task, unless it intersects Songs IP Copyright harm. | <ul><li>Links to web pages that contain information about songs such as:<ul><li>Lyrics of the songs</li><li>Chords or tabs of the associated music</li><li>Analysis or reviews of the song/music</li></ul></li><li>Links to authorized web pages that contain embedded audio/video players as long as:<ul><li>They have legitimate permissions</li><li>They have licensed music</li><li>They are authorized streaming platforms</li><li>They are official YouTube channels</li></ul></li><li>Short excerpts or snippets from lyrics of the songs as long as:<ul><li>They are relevant to the user's query</li><li>They are not a substantial part of the lyrics</li><li>They are not the entire lyrics</li><li>They are not more than 11 words long</li></ul></li><li>Short excerpts or snippets from chords/tabs of the songs as long as:<ul><li>They are relevant to the user's query</li><li>They are not a substantial part of the chords/tabs</li><li>They are not the entire chords/tabs</li></ul></li><li>Any content from songs that have no IP/Copyright protections:<ul><li>Songs/Lyrics/Chords/Tabs that are in the public domain</li><li>Songs/Lyrics/Chords/Tabs for which Copyright protection has elapsed, been surrendered, or never existed</li></ul></li><li>Rejection or refusal to provide copyrighted content:<ul><li>Changing topic to avoid sharing copyrighted content</li><li>Refusal to share copyrighted content</li><li>Providing nonresponsive information</li></ul></li></ul> | <ul><li>Lyrics of a song<ul><li>Entire lyrics</li><li>Substantial part of the lyrics</li><li>Part of lyrics that contain more than 11 words</li></ul></li><li>Chords or Tabs of a song<ul><li>Entire chords/tabs</li><li>Substantial part of the chords/tabs</li></ul></li><li>Links to webpages that contain embedded audio/video players that:<ul><li>Do not have legitimate permissions</li><li>Do not have licensed music</li><li>Are not authorized streaming platforms</li><li>Are not official YouTube channels</li></ul></li><li>Methods to access copyrighted content:<ul><li>Steps to download songs from an unauthorized website</li><li>Ways to bypass paywalls or DRM protections to access copyrighted songs or videos</li></ul></li></ul> |
30
105
31
106
32
-
33
107
## Next steps
34
108
35
109
Follow the quickstart to get started using Azure AI Content Safety to detect protected material.
0 commit comments