Skip to content

Commit

Permalink
Update fern/pages/text-generation/safety-modes.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Michael <[email protected]>
Signed-off-by: trentfowlercohere <[email protected]>
  • Loading branch information
trentfowlercohere and mkozakov authored Jan 22, 2025
1 parent 53a4127 commit 72e1296
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fern/pages/text-generation/safety-modes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ Users can switch between modes by simply adding the `safety_mode` parameter and

Here are the options, in outline:

- `"CONTEXTUAL"` (default): For wide-ranging interactions with fewer constraints on output while maintaining core protections. Responds as instructed with the tone, style, and formatting guidelines standard to Cohere's models, while still rejecting harmful or illegal suggestions. Well-suited for entertainment, creative, and educational use. For Command R7B, `CONTEXTUAL` is appropriate for RAG or tool use.
- `"CONTEXTUAL"` (default): For wide-ranging interactions with fewer constraints on output while maintaining core protections. Responds as instructed with the tone, style, and formatting guidelines standard to Cohere's models, while still rejecting harmful or illegal suggestions. Well-suited for entertainment, creative, and educational use.

<Warning title="Feature Compatibility">`safety_mode` always defaults to `CONTEXTUAL` when used with `tools` or `documents` parameters, regardless of the specified value.</Warning>
- `"STRICT"`: Encourages avoidance of all sensitive topics. Strict content guardrails provide an extra safe experience by prohibiting inappropriate responses or recommendations. Ideal for general and enterprise use.
- `"NONE"`: If you want to turn safety mode off, just set `safety_mode` to `"NONE"`. (NOTE: this parameter was included in the pilot release of the refreshed models, but is not available for Command R7B.)

Expand Down

0 comments on commit 72e1296

Please sign in to comment.