Files
log10go/docs/models/components/chatcompletionstreamoptions.md
2024-05-24 18:29:28 -07:00

3.7 KiB
Raw Blame History

ChatCompletionStreamOptions

Options for streaming response. Only set this when you set stream: true.

Fields

Field Type Required Description
IncludeUsage *bool 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.