Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mkozakov authored Jan 22, 2025
1 parent 8229f8f commit 64376c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fern/pages/text-generation/safety-modes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ 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.
- `"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 option is not available with Command R7B and newer models.)
- `"NONE"` (Deprecated for Command R7B and newer models): If you want to turn safety mode off, set `safety_mode` to `"NONE"`.

### Update for Command R7B and newer models
[Command R7B](https://docs.cohere.com/v1/docs/command-r7b) was released in late 2024, and it is the smallest, fastest, and final model in our R family of enterprise-focused large language models (LLMs). There are several important differences in how safety modes operate in Command R7B compared to older models that developers need to understand to use it responsibly:

- `"NONE"` is no longer a supported value for `safety_mode`
- If a user does not pass a value to the `safety_mode` parameter, the API it will be set to `CONTEXTUAL` by default.
- If a user does not pass a value to the `safety_mode` parameter, the API it will be set to `CONTEXTUAL` by default (used to be `NONE`).

Command R7B also features updated instructions in the Safety section of the prompt, in both `STRICT` and `CONTEXTUAL` safety modes, described below.

Expand Down
4 changes: 2 additions & 2 deletions fern/pages/v2/text-generation/safety-modes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ 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.
- `"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 option is not available with Command R7B and newer models.)
- `"NONE"` (Deprecated for Command R7B and newer models): If you want to turn safety mode off, set `safety_mode` to `"NONE"`.

### Update for Command R7B and newer models
[Command R7B](https://docs.cohere.com/v2/docs/command-r7b) was released in late 2024, and it is the smallest, fastest, and final model in our R family of enterprise-focused large language models (LLMs). There are several important differences in how safety modes operate in Command R7B compared to older models that developers need to understand to use it responsibly:

- `"NONE"` is no longer a supported value for `safety_mode`
- If a user does not pass a value to the `safety_mode` parameter, the API it will be set to `CONTEXTUAL` by default.
- If a user does not pass a value to the `safety_mode` parameter, the API it will be set to `CONTEXTUAL` by default (used to be `NONE`).

Command R7B also features updated instructions in the Safety section of the prompt, in both `STRICT` and `CONTEXTUAL` safety modes, described below.

Expand Down

0 comments on commit 64376c2

Please sign in to comment.