Skip to content

Commit 9058344

Browse files
committed
add code scanner warning
1 parent 4bbc5be commit 9058344

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ The [Protected material text API](../quickstart-protected-material.md) flags kno
1919

2020
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.
2121

22+
> [!CAUTION]
23+
> The content safety service's code scanner/indexer is only current through November 6, 2021. Code that was added to GitHub after this date will not be detected. Use your own discretion when using Protected Material for Code to detect recent bodies of code.
24+
2225
By detecting and preventing the display of protected material, organizations can ensure compliance with intellectual property laws, maintain content originality, and protect their reputations.
2326

2427
This guide provides details about the kinds of content that the protected material API detects.

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ ms.author: pafarley
1313

1414
# Quickstart: Protected material detection for code
1515

16-
1716
The Protected Material for Code feature provides a comprehensive solution for identifying and managing the risks associated with AI-generated code. By detecting and preventing the display of protected code from existing GitHub repositories, organizations can ensure compliance with intellectual property regulations, uphold code originality, and safeguard their reputations. Protected material refers to code that closely matches content from known GitHub repositories, including software libraries, source code, algorithms, and other proprietary programming content.
1817

18+
> [!CAUTION]
19+
> The content safety service's code scanner/indexer is only current through November 6, 2021. Code that was added to GitHub after this date will not be detected. Use your own discretion when using Protected Material for Code to detect recent bodies of code.
20+
1921
The key objectives of the Protected Material Detection for Code feature for AI-generated code are:
2022

2123
- To detect and prevent the display of protected code generated by AI models.

0 commit comments

Comments
 (0)