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
The `$response` object contains a property named `prompt_filter_results` that contains annotations
626
+
about the filter results. If you prefer JSON to a .NET object, pipe the output to `ConvertTo-JSON`
627
+
instead of`Format-List`.
628
+
629
+
```output
630
+
hate : @{filtered=False; severity=safe}
631
+
self_harm : @{filtered=False; severity=safe}
632
+
sexual : @{filtered=False; severity=safe}
633
+
violence : @{filtered=False; severity=safe}
634
+
```
635
+
594
636
---
595
637
596
638
For details on the inference RESTAPI endpoints for Azure OpenAI and how to create Chat and Completions please follow [Azure OpenAI Service RESTAPI reference guidance](../reference.md). Annotations are returned for all scenarios when using `2023-06-01-preview`.
@@ -648,5 +690,3 @@ As part of your application design, consider the following best practices to del
648
690
- Azure OpenAI content filtering is powered by [Azure AI Content Safety](https://azure.microsoft.com/products/cognitive-services/ai-content-safety).
649
691
- Learn more about understanding and mitigating risks associated with your application: [Overview of Responsible AI practices for Azure OpenAI models](/legal/cognitive-services/openai/overview?context=/azure/ai-services/openai/context/context).
650
692
- Learn more about how data is processed in connection with content filtering and abuse monitoring: [Data, privacy, and security for Azure OpenAI Service](/legal/cognitive-services/openai/data-privacy?context=/azure/ai-services/openai/context/context#preventing-abuse-and-harmful-content-generation).
0 commit comments