Content moderation filters or flags harmful, abusive, or disallowed content in prompts and responses, usually with a classifier or policy evaluator. In Infere, content moderation is set per category on a key: block (403 before the model is called) or flag. Any category on adds one check-model call per request, and it works best alongside the other protections rather than as the only safeguard.
Why it matters
Applications carry responsibility for the content they generate and display. Moderation reduces the risk of harmful or disallowed output reaching users.
How it works
In Infere, content moderation is set per category on a key: block (403 before the model is called) or flag. Any category on adds one check-model call per request, and it works best alongside the other protections rather than as the only safeguard.