mistralM

Docs

sideBar

Moderation & Guardrailing (deprecated)

Review the deprecated moderation model and safe_prompt flag, and migrate to the current moderation service and Custom Guardrails.

These pages document two deprecated moderation features: the mistral-moderation-2411 model and the safe_prompt flag. For the current moderation service, see Moderation & Guardrailing.

Migrate to the current features

Deprecated

Migrate to

mistral-moderation-2411mistral-moderation-2603. Update any moderation_llm_v1 guardrail configs to moderation_llm_v2.
safe_promptCustom Guardrails, which give more control over moderation categories and thresholds in your API requests.

In this section

Mistral Moderation 2411
illustrationShield

Mistral Moderation 2411

Review the policy categories of the former moderation model.

Safe Prompt
illustrationPen

Safe Prompt

Enforce guardrails with the optional safe_prompt system prompt.