We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb5bc27 commit da5f9bcCopy full SHA for da5f9bc
completion.go
@@ -215,6 +215,8 @@ type CompletionRequest struct {
215
Temperature float32 `json:"temperature,omitempty"`
216
TopP float32 `json:"top_p,omitempty"`
217
User string `json:"user,omitempty"`
218
+ // Options for streaming response. Only set this when you set stream: true.
219
+ StreamOptions *StreamOptions `json:"stream_options,omitempty"`
220
}
221
222
// CompletionChoice represents one of possible completions.
0 commit comments