OpenAI
OpenAI copied to clipboard
Add create audio speech stream support
What
OpenAI supports sending audio speech by chunks (see my issue here: https://github.com/MacPaw/OpenAI/issues/185). This PR adds support for this feature.
Why
With this change, clients can start audio playback with less latency, as far as first audio chunk will be received.
Affected Areas
In OpenAIProtocol was added new method audioCreateSpeechStream
Note
This PR Was already opened, but I reopened it from new branch name (according to Contribution Guidelines). All requested changes were already applied
- https://github.com/MacPaw/OpenAI/pull/188
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Do you have an example of how to use it?
Do you have an example of how to use it?
Thanks for the question, here's my answer - https://github.com/MacPaw/OpenAI/issues/185#issuecomment-2092484759