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 22, 2024
1 parent a697abc commit f438bd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cohere-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5914,6 +5914,7 @@ paths:
- $ref: "#/components/schemas/ChatToolCallDeltaEvent"
- $ref: "#/components/schemas/ChatToolCallEndEvent"
- $ref: "#/components/schemas/ChatMessageEndEvent"
- $ref: "#/components/schemas/ChatDebugEvent"
discriminator:
propertyName: type
mapping:
Expand All @@ -5928,6 +5929,7 @@ paths:
citation-start: "#/components/schemas/CitationStartEvent"
citation-end: "#/components/schemas/CitationEndEvent"
message-end: "#/components/schemas/ChatMessageEndEvent"
debug: "#/components/schemas/ChatDebugEvent"
description: |
Generates a text response to a user message and streams it down, token by token. To learn how to use the Chat API with streaming follow our [Text Generation guides](https://docs.cohere.com/v2/docs/chat-api).

Expand Down Expand Up @@ -23122,6 +23124,7 @@ components:
- $ref: "#/components/schemas/ChatToolCallDeltaEvent"
- $ref: "#/components/schemas/ChatToolCallEndEvent"
- $ref: "#/components/schemas/ChatMessageEndEvent"
- $ref: "#/components/schemas/ChatDebugEvent"
discriminator:
propertyName: type
mapping:
Expand All @@ -23136,6 +23139,7 @@ components:
citation-start: "#/components/schemas/CitationStartEvent"
citation-end: "#/components/schemas/CitationEndEvent"
message-end: "#/components/schemas/ChatMessageEndEvent"
debug: "#/components/schemas/ChatDebugEvent"
SingleGeneration:
type: object
properties:
Expand Down

0 comments on commit f438bd5

Please sign in to comment.