Skip to content

Commit 3c24d07

Browse files
Merge pull request #305028 from dlepow/0925
[APIM] Sept 2025 release updates
2 parents db6d5fa + 86b19ea commit 3c24d07

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

articles/api-management/llm-content-safety-policy.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: azure-api-management
88
ms.collection: ce-skilling-ai-copilot
99
ms.custom:
1010
ms.topic: reference
11-
ms.date: 03/04/2025
11+
ms.date: 09/03/2025
1212
ms.update-cycle: 180-days
1313
ms.author: danlep
1414
---
@@ -36,7 +36,7 @@ Use the policy in scenarios such as the following:
3636
## Policy statement
3737

3838
```xml
39-
<llm-content-safety backend-id="name of backend entity" shield-prompt="true | false" >
39+
<llm-content-safety backend-id="name of backend entity" shield-prompt="true | false" enforce-on-completions="true | false">
4040
<categories output-type="FourSeverityLevels | EightSeverityLevels">
4141
<category name="Hate | SelfHarm | Sexual | Violence" threshold="integer" />
4242
<!-- If there are multiple categories, add more category elements -->
@@ -56,6 +56,7 @@ Use the policy in scenarios such as the following:
5656
| -------------- | ----------------------------------------------------------------------------------------------------- | -------- | ------- |
5757
| backend-id | Identifier (name) of the Azure AI Content Safety backend to route content-safety API calls to. Policy expressions are allowed. | Yes | N/A |
5858
| shield-prompt | If set to `true`, content is checked for user attacks. Otherwise, skip this check. Policy expressions are allowed. | No | `false` |
59+
| enforce-on-completions| If set to `true`, content safety checks are enforced on chat completions for response validation. Otherwise, skip this check. Policy expressions are allowed. | No | `false` |
5960

6061

6162
## Elements

0 commit comments

Comments
 (0)