Skip to content

Add TextStream support to SpeechSynthesizer in the JavaScript SDK #2784

@balloob

Description

@balloob

Is your feature request related to a problem? Please describe.

Same request as #2773, but for JavaScript: I want to be able to stream output from LLMs to Azure and get text going as soon as possible without having to wait for the full response.

Describe the solution you'd like

Allow streaming in LLM output tokens with speak_async and tts_request.input_stream.write into the Speech Synthesizer and start generating text as soon as possible.

Describe alternatives you've considered

Python SDK

Additional context
Same as #2773

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions