You are browsing unreleased documentation.
Looking for the plugin's configuration parameters? You can find them in the AI Azure Content Safety configuration reference doc.
The Azure Content Safety plugin allows administrators to enforce introspection with the Azure Content Safety service for all requests handled by the AI Proxy plugin. The plugin enables configurable thresholds for the different moderation categories and you can specify an array set of pre-configured blocklist IDs from your Azure Content Safety instance.
Audit failures can be observed and reported on using the logging plugins.
This plugin extends the functionality of the AI Proxy plugin, and requires AI Proxy to be configured first. Check out the AI Gateway quickstart to get an AI proxy up and running within minutes!
Format
This plugin works with all of the AI Proxy plugin’s route_type
settings (excluding the preserve
mode), and is able to
compose an Azure Content Safety text check by compiling all chat history, or just the 'user'
content.
Get started with the AI Azure Content Safety plugin
- AI Gateway quickstart: Set up AI Proxy
- Configuration reference
- Basic configuration example
- Learn how to use the plugin