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.

Example

Score every response for harassment and block or route to review anything above a threshold.

← Back to the full glossary

Put the platform behind the terms

Route, evaluate, and monitor every AI request from one OpenAI-compatible platform.

Start Free → Explore the Features