Skip to content

Commit 337a2fd

Browse files
authored
Merge pull request #3000 from PatrickFarley/minor-updates
update code indexer note
2 parents 0941974 + e525d59 commit 337a2fd

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ The [Protected material text API](../quickstart-protected-material.md) flags kno
2121

2222
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.
2323

24-
> [!CAUTION]
25-
> 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+
[!INCLUDE [content-safety-code-indexer](../includes/code-indexer.md)]
2625

2726
By detecting and preventing the display of protected material, organizations can ensure compliance with intellectual property laws, maintain content originality, and protect their reputations.
2827

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Code indexer"
3+
author: PatrickFarley
4+
manager: nitinme
5+
ms.service: azure-ai-content-safety
6+
ms.custom:
7+
ms.topic: include
8+
ms.date: 02/18/2025
9+
ms.author: pafarley
10+
---
11+
12+
13+
> [!CAUTION]
14+
> The content safety service's code scanner/indexer is only current through April 6, 2023. 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.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ ms.author: pafarley
1515

1616
The Protected Material for Code feature provides a comprehensive solution for identifying AI outputs that match code from existing GitHub repositories. This feature allows code generation models to be used confidently, in a way that enhances transparency to end users and promotes compliance with organizational policies.
1717

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.
18+
[!INCLUDE [content-safety-code-indexer](./includes/code-indexer.md)]
2019

2120
The key objectives of the Protected Material Detection for Code feature for AI-generated code are:
2221

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ The Multimodal API analyzes materials containing both image content and text con
3434

3535
The Protected material code API 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. Follow the [quickstart](./quickstart-protected-material-code.md) to get started.
3636

37-
> [!CAUTION]
38-
> 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.
37+
[!INCLUDE [content-safety-code-indexer](./includes/code-indexer.md)]
3938

4039
### Groundedness correction (preview)
4140

0 commit comments

Comments
 (0)