From 64376c25eb2cb40d73d3f750894dc87e52abd64c Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 22 Jan 2025 15:04:08 -0500 Subject: [PATCH] fixes --- fern/pages/text-generation/safety-modes.mdx | 4 ++-- fern/pages/v2/text-generation/safety-modes.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fern/pages/text-generation/safety-modes.mdx b/fern/pages/text-generation/safety-modes.mdx index b80c3cc43..67ee42da3 100644 --- a/fern/pages/text-generation/safety-modes.mdx +++ b/fern/pages/text-generation/safety-modes.mdx @@ -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. diff --git a/fern/pages/v2/text-generation/safety-modes.mdx b/fern/pages/v2/text-generation/safety-modes.mdx index 39503c9e3..4f813df77 100644 --- a/fern/pages/v2/text-generation/safety-modes.mdx +++ b/fern/pages/v2/text-generation/safety-modes.mdx @@ -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.