a6-plugin-ai-content-moderation
Installation
SKILL.md
a6-plugin-ai-content-moderation
Overview
APISIX provides two content moderation plugins that filter harmful content in LLM requests and responses:
| Plugin | Provider | Request | Response | Streaming |
|---|---|---|---|---|
ai-aws-content-moderation |
AWS Comprehend | ✅ | ✅ | ✅ |
ai-aliyun-content-moderation |
Aliyun Moderation Plus | ✅ | ✅ | ✅ |
Both must be used alongside ai-proxy or ai-proxy-multi so the plugin can
moderate decoded AI content. AWS response and streaming moderation, fail_mode,
role selection, and the default deny_code of 200 apply from APISIX 3.18.0.
For field tables and protocol details, see
https://docs.api7.ai/hub/ai-aws-content-moderation and
https://docs.api7.ai/hub/ai-aliyun-content-moderation.