livekit / agents

Build real-time multimodal AI applications 🤖🎙️📹
https://docs.livekit.io/agents
Apache License 2.0
3.95k stars 401 forks source link

Let the user decide if they can interrupt #1068

Closed zhanghx0905 closed 1 day ago

zhanghx0905 commented 2 days ago

Interrupting conversations is a useful feature. But sometimes the user is in a noisy environment and background sounds can be misrecognized as interruptions. It should be someway to leave user to decide whether to enable interruptions or not.

jayeshp19 commented 2 days ago

You can turn it off by allow_interruptions=False

zhanghx0905 commented 2 days ago

You can turn it off by allow_interruptions=False

I wonder can Room Participants choose for themselves whether or not to enable allow_interruptions? For example users of https://github.com/livekit/agents-playground

davidzhao commented 1 day ago

this is enabled on the agent-side. To control it from clients, you can use participant attributes to signal your agent how it should behave

zhanghx0905 commented 16 minutes ago

this is enabled on the agent-side. To control it from clients, you can use participant attributes to signal your agent how it should behave

How can I get canUpdateOwnMetadata permission?