Skip to content

Commit 1876e0c

Browse files
author
Savannah Ostrowski
authored
update to json.RawMessage (#441)
1 parent 0234c1e commit 1876e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type FunctionDefinition struct {
6565
Name string `json:"name"`
6666
Description string `json:"description,omitempty"`
6767
// Parameters is an object describing the function.
68-
// You can pass a []byte describing the schema,
68+
// You can pass json.RawMessage to describe the schema,
6969
// or you can pass in a struct which serializes to the proper JSON schema.
7070
// The jsonschema package is provided for convenience, but you should
7171
// consider another specialized library if you require more complex schemas.

0 commit comments

Comments
 (0)