Is there a way to allow asynchronous stt model to ...
# ask-ai
b
Is there a way to allow asynchronous stt model to receive the full audio file, then receive a full transcript response on user_commit? Im currently trying to work on an agent using gpt-4o-transcribe WITHOUT the realtime strategy for better accuracy. However since this model is not a streaming STT model, it requires setting a VAD with it (which I set it Silero VAD). The problem now is that since the chunks of audio processed for every "speech end", the final transcript's accuracy is bad. Is there a way to send the full audio data to process the stt at once?
t
Thanks for reaching out, YJ. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thank you for reaching out! LiveKit's STT model is mainly built for real-time, streaming transcription, which works great for immediate needs. Some plugins like Fal AI and Deepgram do offer batch processing for full audio files, but this happens synchronously rather than asynchronously. Currently, the system doesn’t support asynchronous batch STT processing where you submit a full audio file and receive the complete transcript later on
user_commit
. If your project needs asynchronous processing, a helpful approach might be to set up an external workflow that records the entire audio first, then triggers a batch STT request separately. Alternatively, you could explore third-party asynchronous STT services outside of LiveKit’s framework. I hope this helps clarify things, and please feel free to ask if you have any more questions or need further assistance! Sources: livekit-plugins/livekit-plugins-fal/livekit/plugins/fal/stt.py