Hi, We are consistently facing issues with short s...
# agents
c
Hi, We are consistently facing issues with short single word answers ('Yes', 'two'....). I'm using silero VAD which is properly detecting the user speaking (I can see the events 'User Started speaking' and User stopped speaking' but then I don't have any STT logs. This happens across several STT providers (deepgram, azure...). Some of them don't seem to have parameters exposed to solve this type of issue. I'm not even sure the STT is triggered. Any idea about how to address this?
e
We see this too, even with Deepgram Flux, where all the audio is continually streamed to STT. And even if a quick single-word response does get transcribed, it's quite often wrong. I think these transformer-based STT models all struggle with being confident about short responses, because there's not enough context. Would be interesting to see if a realtime model would perform better, since it has the full context of the conversation.
h
The voices used by gpt-realtime are shockingly bad If you're used to a TTS service like ElevenLabs.
e
Yep, that's why we don't use it. The model is intelligence is pretty bad, too.
p
Yes - seeing this too on Deepgram - sadly haven't found a solution for this yet. Sometimes transcriptions gets completely missed even for longer sentences when the user's speech is low volume
c
@early-fall-57331 Yes, I would say that high WER on single words is not surprising given that these models are all autoregressive. What I'm more worried about is the fact that I don't even receive the transcript for a decent amount of short responses.
➕ 1
e
Yea, it creates unfortunate situations where the agent continues waiting for the user to say something... but we've had an equal amount of awkward situations where STT generates a bad transcription for something that was just a bit of noise, which then results in an interruption and confusing chat history. I wish there was an easy way to instruct the STT to only listen for "yes" and "no" (or whatever sensible answer to the question that was asked) because I'm sure it could theoretically do a better job with that information.
👍 1
c
Yes, I wish we would just use the last turn as a context of the STT (but not in the form of a context prompt which really doesn't work). I heard in the last flux webinar that deepgram is working on dynamically identifying which previous turns should be added to your context of the STT. I find it weird that when you ask "Are you a manager?", the question is not used by the STT. Maybe a brute force solution that consists in concatenating agent and user last audio turn would boost performance although it will significantly increase the STT latency.
@refined-appointment-81829 Any idea on how to solve missing transcript for short responses like "Yes". The VAD is working but the STT doesn't seem to be triggered for at least 30%-40% of the cases depending on how strong is your yes. It should be fairly easy to reproduce, I'm observing this for all STT providers. I've tried tuning VAD and STT parameters but it doesn't solve the issue. When I hear the recording, my "Yes" answers are clearly understandable. We have entire calls where customers almost only answer by single words like 'Yes', 'two', 'Agree', and this is causing quite some frustration 😛
e
FWIW we got better results from STT after turning off noise cancelation. Some models are trained with noise, and the noise cancelation creates audio artifacts that can throw it off. See https://deepgram.com/learn/the-noise-reduction-paradox-why-it-may-hurt-speech-to-text-accuracy
👀 1