helpful-salesclerk-77327
08/04/2025, 1:56 PMtall-airline-16756
08/04/2025, 1:56 PMtall-airline-16756
08/04/2025, 1:57 PMsession.say() method, which triggers the Text-to-Speech (TTS) system to synthesize and play a predefined message. For example:
await session.say("Hello. How can I help you today?")
Additionally, LiveKit supports preemptive generation, allowing the agent to start generating responses proactively. If you need further details or examples, let me know!
Sources: Agent speech and audio | LiveKit Docs | Agent speech and audio | LiveKit Docs | livekit-agents/livekit/agents/voice/agent_activity.py