Closed htuzel closed 2 months ago
I tried to use JSON format response but it doesn't work
Create a request like that:
$result = $client->chat()->create([ 'model' => 'gpt-4-1106-preview', 'response_format' => [ 'type' => 'json_format' ], 'messages' => [ ['role' => 'user', 'content' => $content], ], ]);
0.8.4
8.3.3
No response
Description
I tried to use JSON format response but it doesn't work
Steps To Reproduce
Create a request like that:
OpenAI PHP Client Version
0.8.4
PHP Version
8.3.3
Notes
No response