Replies: 1 comment
-
You can pass the $client::chat()->create([
'model' => 'gpt-4',
+ 'response_format' => 'json_object',
// ...
]); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the Chat Completion there is a mode you can enable in Text generation called JSON mode. When will this be added to the client?
Beta Was this translation helpful? Give feedback.
All reactions