<@U084APK40NS> how to progrmatically let agents st...
# ask-ai
p
@millions-hair-24956 how to progrmatically let agents stt know that user finished talking ?
g
To programmatically let the agent's Speech-to-Text (STT) know that the user has finished talking, you can use Voice Activity Detection (VAD) to detect the end of speech. According to the LiveKit documentation, the
min_endpointing_delay
parameter in the
VoicePipelineAgent
can be adjusted to set the delay before considering the user finished speaking. This parameter helps in determining the end of a user's speech by specifying the amount of silence required. Would you like more details on how to implement this or adjust the parameters? Sources: - LiveKit documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
r
Also be sure to check out the End of Turn detector too see if it meets your usecase
p
@refined-appointment-81829 I've seen that, thank you! ( Very impressive ) What I want though is for user to control when to end response. Something like push-to-talk or "Submit" button.
r
Have a look at the agents dev-1.0 which is in beta now. This feature is slated for that version: https://livekit-users.slack.com/archives/C07FY8WHGPM/p1737190919512959?thread_ts=1737155872.456299&amp;cid=C07FY8WHGPM
🙌 1
p
@refined-appointment-81829 thanks, will take a look!