Make reponse format JSONSchema optional (#820)
This commit is contained in:
1 parent
623074c14a
commit
6439e1fcc9
1 file changed
+1
-1
@@ -183,7 +183,7 @@ const (
|
|||||||
|
|
||||||
type ChatCompletionResponseFormat struct {
|
type ChatCompletionResponseFormat struct {
|
||||||
Type ChatCompletionResponseFormatType `json:"type,omitempty"`
|
Type ChatCompletionResponseFormatType `json:"type,omitempty"`
|
||||||
JSONSchema ChatCompletionResponseFormatJSONSchema `json:"json_schema,omitempty"`
|
JSONSchema *ChatCompletionResponseFormatJSONSchema `json:"json_schema,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ChatCompletionResponseFormatJSONSchema struct {
|
type ChatCompletionResponseFormatJSONSchema struct {
|
||||||
|
|||||||
Reference in new issue
Block a user