Closed jplhomer closed 2 months ago
This looks great overall, and worked for me once I made that small tweak to your code. Thank you for pushing this up, I hope we can get it merged into the main project, as I have it forked just to use this feature.
Resolve here https://github.com/openai-php/client/pull/374
Thanks @jplhomer for your work!
What:
Description:
This PR adds support for the new
timestamp_granularities[]
property in Audio Transcriptions.words
Payload
class to support sending array-based dataCurrently, attempting to pass in a granularity level array results in an error:
Exception:
My solution is to parse one level of array data. I'm not sure if this is the best solution, or if we ought to support recursive array parsing.