Files
log10go/models/components/chatcompletionfunctioncalloption.go
2024-05-24 18:29:28 -07:00

17 lines
458 B
Go

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package components
// ChatCompletionFunctionCallOption - Specifying a particular function via `{"name": "my_function"}` forces the model to call that function.
type ChatCompletionFunctionCallOption struct {
// The name of the function to call.
Name string `json:"name"`
}
func (o *ChatCompletionFunctionCallOption) GetName() string {
if o == nil {
return ""
}
return o.Name
}