Skip to content

Commit

Permalink
Add spec changes
Browse files Browse the repository at this point in the history
Co-authored-by: Abdullah Elkady <[email protected]>
  • Loading branch information
platform-endpoints and abdullahkady committed Aug 29, 2024
1 parent 85fe3e0 commit 5a4446b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cohere-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5783,6 +5783,20 @@ paths:
x-fern-audiences:
- public
$ref: "#/components/schemas/ResponseFormat"
safety_mode:
x-fern-audiences:
- public
x-fern-availability: beta
enum:
- CONTEXTUAL
- STRICT
- NONE
description: |
For the models Command R 08-2024 and Command R+ 08-2024, the default is `CONTEXTUAL`.

**Note**: This parameter not supported for models older than Command R 08-2024.

The `safety_mode` parameter is used to control the safety of the generated text, by adding extra constraints instructions to the prompt. Possible values are: `CONTEXTUAL`, `STRICT`, and `NONE`.
responses:
"200":
description: OK
Expand Down

0 comments on commit 5a4446b

Please sign in to comment.