-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update deepgram endpointing #145
Update deepgram endpointing #145
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for contributing!
deepgram controls vad by endpointing parameter, this fix allows to configure min_silence_duration in agents layer
Hi @seanmuirhead, I come from a similar PR #148. We are sharing some changes on the codebase. I think the end result of both |
Hi @Vibrat, Yes, I was thinking the same thing! Will do that by EOD PST. |
what do you think about exposing |
@davidzhao Ya I agree, much cleaner that way. Will include in rebase |
@davidzhao @Vibrat done! Removed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks good! we'll get it merged and update the other plugins to behave the same way.
commit 5fab872 Author: Neil Dwyer <[email protected]> Date: Tue Feb 6 17:18:48 2024 -0800 Kitt to handle empty deepgram text + elevenlabs bug fix (livekit#155) hotfix commit 7661824 Author: Neil Dwyer <[email protected]> Date: Tue Feb 6 16:25:35 2024 -0800 Bump deepgram version (livekit#154) commit ddc168e Author: Neil Dwyer <[email protected]> Date: Tue Feb 6 16:10:52 2024 -0800 Fixes to Elevenlabs (livekit#152) commit 5555526 Author: David Zhao <[email protected]> Date: Tue Feb 6 09:12:38 2024 -0800 Update KITT and other plugins to use end_of_speech field (livekit#153) * Update KITT and other plugins to use end_of_speech field Tested with KITT. It significantly improves the end of speech behavior so that we are giving it a 1s wait before starting to process user input. * ruff on 3.10 * use ruff action * fixed ruff commit a98a7c1 Author: Paul Lockett <[email protected]> Date: Tue Feb 6 00:02:51 2024 -0800 update tts init to export StreamAdapter (livekit#149) commit 604d7e3 Author: Sean Muirhead <[email protected]> Date: Mon Feb 5 21:35:55 2024 -0800 Update deepgram endpointing (livekit#145) * deepgram: Add min_silence_duration to deepgram client. deepgram controls vad by endpointing parameter, this fix allows to configure min_silence_duration in agents layer * add utterance_end_ms and speech_final to Deepgram plugin * add utterance_end_ms and speech_final to Deepgram plugin * expose speech_final as end_of_speech --------- Co-authored-by: Lam Nguyen <[email protected]>
commit 5fab872 Author: Neil Dwyer <[email protected]> Date: Tue Feb 6 17:18:48 2024 -0800 Kitt to handle empty deepgram text + elevenlabs bug fix (livekit#155) hotfix commit 7661824 Author: Neil Dwyer <[email protected]> Date: Tue Feb 6 16:25:35 2024 -0800 Bump deepgram version (livekit#154) commit ddc168e Author: Neil Dwyer <[email protected]> Date: Tue Feb 6 16:10:52 2024 -0800 Fixes to Elevenlabs (livekit#152) commit 5555526 Author: David Zhao <[email protected]> Date: Tue Feb 6 09:12:38 2024 -0800 Update KITT and other plugins to use end_of_speech field (livekit#153) * Update KITT and other plugins to use end_of_speech field Tested with KITT. It significantly improves the end of speech behavior so that we are giving it a 1s wait before starting to process user input. * ruff on 3.10 * use ruff action * fixed ruff commit a98a7c1 Author: Paul Lockett <[email protected]> Date: Tue Feb 6 00:02:51 2024 -0800 update tts init to export StreamAdapter (livekit#149) commit 604d7e3 Author: Sean Muirhead <[email protected]> Date: Mon Feb 5 21:35:55 2024 -0800 Update deepgram endpointing (livekit#145) * deepgram: Add min_silence_duration to deepgram client. deepgram controls vad by endpointing parameter, this fix allows to configure min_silence_duration in agents layer * add utterance_end_ms and speech_final to Deepgram plugin * add utterance_end_ms and speech_final to Deepgram plugin * expose speech_final as end_of_speech --------- Co-authored-by: Lam Nguyen <[email protected]>
* deepgram: Add min_silence_duration to deepgram client. deepgram controls vad by endpointing parameter, this fix allows to configure min_silence_duration in agents layer * add utterance_end_ms and speech_final to Deepgram plugin * add utterance_end_ms and speech_final to Deepgram plugin * expose speech_final as end_of_speech --------- Co-authored-by: Lam Nguyen <[email protected]>
Notes:
speech_final
toSpeechEvent
. Defaulted toFalse
because looks like it's being used elsewhere.speech_final
for eachSpeechEvent
.utterance_end_ms
for more control over VADRelevant Docs:
https://developers.deepgram.com/docs/understanding-end-of-speech-detection
https://developers.deepgram.com/docs/understand-endpointing-interim-results