Skip to content

Commit

Permalink
update to json.RawMessage (sashabaranov#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
Savannah Ostrowski authored Jul 15, 2023
1 parent 0234c1e commit 1876e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type FunctionDefinition struct {
Name string `json:"name"`
Description string `json:"description,omitempty"`
// Parameters is an object describing the function.
// You can pass a []byte describing the schema,
// You can pass json.RawMessage to describe the schema,
// or you can pass in a struct which serializes to the proper JSON schema.
// The jsonschema package is provided for convenience, but you should
// consider another specialized library if you require more complex schemas.
Expand Down

0 comments on commit 1876e0c

Please sign in to comment.