livekit / agents

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

Let the user decide if they can interrupt #1068

Closed zhanghx0905 closed 1 week ago

zhanghx0905 commented 1 week 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 1 week ago

You can turn it off by allow_interruptions=False

zhanghx0905 commented 1 week 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 week 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 1 week 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?