Is it possible to stream Groq LLM responses as and when I get it into Azure TTS?

arunnair 0 Reputation points
2024-05-03T08:10:45.06+00:00

Hi! I'm trying to build a real time LLM conversation bot, and need it to be as low latency as possible. I have successfully set up TTS audio output streaming (https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-lower-speech-synthesis-latency?pivots=programming-language-python#streaming) using Azure's Python speech SDK, but would like to know if it's also possible to stream the input text to TTS, piece by piece, as and when I get it? So that I don't have to wait for entire text to be generated before generating the TTS audio.

I tried searching for it but didn't come across any relevant information.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,454 questions
{count} votes