Skip to content

Commit a684d86

Browse files
committed
DocuMentor: Changes for danlep-patch-637793
1 parent b380a37 commit a684d86

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ Use the policy in scenarios such as the following:
9797
### Usage notes
9898

9999
* Configure the policy in the inbound section to check requests and in the outbound section to check responses.
100-
* Unless you specify `window-size`, the policy runs on a concatenation of all text content in a completion or chat completion request or response. If you specify `window-size`, the policy runs on windows of text content with the specified size and overlaps.
100+
* Unless you specify `window-size` for a completion or chat completion request or response, the policy runs on a concatenation of all text content. If you specify `window-size`, the policy runs on windows of text content with the specified size and overlaps.
101+
* For streaming responses, the stream handler buffers events in a sliding window and, if a content safety violation is detected, stops forwarding further events to the client. A `403` error isn't returned in this case.
101102
* If the request or response exceeds the character limit of Azure AI Content Safety, the policy returns a `403` error.
102103
* You can use this policy multiple times per policy definition.
103104

0 commit comments

Comments
 (0)