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

Chunking TTS request and return stream from serverless function #12

Open
lukeocodes opened this issue Mar 1, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request priority

Comments

@lukeocodes
Copy link
Collaborator

We'd like to be able to start the TTS response earlier. We have chunking logic for JavaScript, so we want to buffer the TTS input as a stream, clear the buffer into individual TTS requests, and combine the responses into a single response stream.

See: https://www.npmjs.com/package/multistream

@lukeocodes lukeocodes added the enhancement New feature or request label Mar 1, 2024
@lukeocodes lukeocodes self-assigned this Mar 1, 2024
@humayunjavaid
Copy link

Anything with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority
Projects
None yet
Development

No branches or pull requests

3 participants