Skip to content

Commit

Permalink
Add spec changes
Browse files Browse the repository at this point in the history
Co-authored-by: billytrend-cohere <[email protected]>
  • Loading branch information
platform-endpoints and billytrend-cohere committed Nov 27, 2024
1 parent 9595a64 commit 15e40ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cohere-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5945,6 +5945,18 @@ paths:
- messages
- model
properties:
stream:
description: |
Defaults to `false`.

When `true`, the response will be a SSE stream of events. The final event will contain the complete response, and will have an `event_type` of `"stream-end"`.

Streaming is beneficial for user interfaces that render the contents of the response piece by piece, as it gets generated.

Compatible Deployments: Cohere Platform, Azure, AWS Sagemaker/Bedrock, Private Deployments
type: boolean
x-fern-audiences:
- public
model:
x-fern-audiences:
- public
Expand Down

0 comments on commit 15e40ae

Please sign in to comment.