Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add create audio speech stream support #189

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

batanus
Copy link

@batanus batanus commented Apr 2, 2024

What

OpenAI supports sending audio speech by chunks (see my issue here: #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

Copy link

sonarcloud bot commented Apr 2, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@batanus batanus changed the title Add create audio apeech stream support Add create audio speech stream support Apr 24, 2024
@DanielhCarranza
Copy link

Do you have an example of how to use it?

@batanus
Copy link
Author

batanus commented May 3, 2024

Do you have an example of how to use it?

Thanks for the question, here's my answer - #185 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants