Skip to content

Commit

Permalink
chat: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanskidmore committed Jun 26, 2023
1 parent 647eb69 commit 265fc3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ type ChatCompletionRequest struct {
LogitBias map[string]int `json:"logit_bias,omitempty"`
User string `json:"user,omitempty"`
Functions []FunctionDefinition `json:"functions,omitempty"`
FunctionCall *FunctionCall `json:"function_call,omitempty"` // FunctionCall can either be a string ("none" or "auto") or an instance of ChatCompletionRequestFunctionCall
// FunctionCall supports either FunctionCallNone, FunctionCallAuto, or an instance of FunctionCall
FunctionCall *FunctionCall `json:"function_call,omitempty"`
}

type FunctionDefinition struct {
Expand Down

0 comments on commit 265fc3b

Please sign in to comment.