Closed samehdoush closed 1 year ago
php 8.2
$response = $client->audio()->transcribe([ 'model' => 'whisper-1', 'file' => fopen('audio.mp3', 'r'), 'response_format' => 'verbose_json', ]);
"message": "Undefined array key \"transient\"", "exception": "ErrorException", "file": "vendor\\openai-php\\client\\src\\Responses\\Audio\\TranscriptionResponseSegment.php", "line": 56,
This should be resolved on recent version, are you on v0.6.4+?
thank you , it is working
php 8.2
$response = $client->audio()->transcribe([ 'model' => 'whisper-1', 'file' => fopen('audio.mp3', 'r'), 'response_format' => 'verbose_json', ]);