You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suffix that comes after a completion of inserted text.
@@ -7697,6 +7699,18 @@ components:
7697
7699
- tool
7698
7700
- function
7699
7701
7702
+
ChatCompletionStreamOptions:
7703
+
description: |
7704
+
Options for streaming response. Only set this when you set `stream: true`.
7705
+
type: object
7706
+
nullable: true
7707
+
default: null
7708
+
properties:
7709
+
include_usage:
7710
+
type: boolean
7711
+
description: |
7712
+
If set, an additional chunk will be streamed before the `data: [DONE]` message. The `usage` field on this chunk shows the token usage statistics for the entire request, and the `choices` field will always be an empty array. All other chunks will also include a `usage` field, but with a null value.
7713
+
7700
7714
ChatCompletionResponseMessage:
7701
7715
type: object
7702
7716
description: A chat completion message generated by the model.
0 commit comments