Took Flux for a spin this morning (Thanks <@U01KZ6...
# agents
m
Took Flux for a spin this morning (Thanks @dry-elephant-14928 for the implementation and example 🙏) and noticed its much more sensitive to background noise than our existing livekit VAD setup. Our agents use generate_reply to create the welcome message and it was just hanging - I had my treadmill going at the same time as testing this and its only when testing again in a silent room did it kick in, reverting back to nova-3 and it was fine. I’m not sure if this is a livekit or a flux/deepgram issue though
r
Are you using Noise Cancelation in both cases?
m
Yep
Copy code
await self.session.start(
            room=self.room,
            agent=self.agent,
            room_input_options=room_io.RoomInputOptions(
                noise_cancellation=noise_cancellation.BVC(),
            ),
        )
r
I've not tried that model yet so not sure if it is more sensitive but I would anticipate this to be a model sensitivity issue and not a LiveKit issue.
n
What VAD settings are you using? I think i'm experiencing the similar issue and was wondering if it was related to silero vad setup
m
I tried with and without VAD but the same issue
d
hey @magnificent-salesclerk-38445 what do you mean that it's more sensitive? are you seeing the agent would be falsely interrupted more frequently? or is Flux transcribing background noise as speech?
m
I believe it's the latter
So as I'm using generate_reply (allowing interruptions) to say the welcome message, the STT thinks the BG is me speaking and it just goes silent
d
I think using a VAD would be helpful. while Flux has built-in VAD, I haven't played too much with it.. If you don't pass in a separate VAD, we'll rely on Flux's VAD for interruption handling
you can also experiment with interruption configs •
min_interruption_duration
•
min_interruption_words
t
I’ve been experiencing the same issue. I’ve only noticed for the first speech, subsequent speech are generally fine. weird.
j
Yes me too. Experiencing some random couple of words at the start of the conversation. The issue is only with deepgram flux and not other models. Any proposed solution or workaround for the same?
m
yeah i tried flux again and it still seems to be an issue, but i’ve not seen it widely reported in their discord so thought it might be a livekit implementation issue rather than flux being broken
j
@dry-elephant-14928 Any help with this pls?