We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c650976 commit e893d0dCopy full SHA for e893d0d
chat.go
@@ -309,6 +309,8 @@ type ChatCompletionRequest struct {
309
ChatTemplateKwargs map[string]any `json:"chat_template_kwargs,omitempty"`
310
// Specifies the latency tier to use for processing the request.
311
ServiceTier ServiceTier `json:"service_tier,omitempty"`
312
+ // GuidedChoice restricts output to a set of predefined choices.
313
+ GuidedChoice []string `json:"guided_choice,omitempty"`
314
}
315
316
type StreamOptions struct {
0 commit comments