clever-apartment-50437
09/17/2025, 5:21 PMtall-airline-16756
09/17/2025, 5:21 PMtall-airline-16756
09/17/2025, 5:22 PMawait self.session.say("Hello. How can I help you today?", allow_interruptions=False). The session.say() method is designed for the agent to speak a set message, and by setting allow_interruptions=False, it makes sure the agent finishes speaking without being interrupted if the user starts talking.
If you have any questions or need a bit more help, please don't hesitate to ask—I'm here for you!
Sources: Agent speech and audio | LiveKit Docs | Agent speech and audio | LiveKit Docs | livekit-agents/livekit/agents/voice/events.py | examples/src/basic_agent.ts