helpful-salesclerk-77327
08/12/2025, 11:16 PMtall-airline-16756
08/12/2025, 11:16 PMtall-airline-16756
08/12/2025, 11:16 PMawait session.say("Hello, welcome to the call. How can I assist you today?");
Just make sure you have a TTS plugin set up for this to work smoothly.
• Using `session.generate_reply()`: This is great for outbound calls, where the agent can send a friendly greeting or intro message. For example:
session.conversation.item.create(
llm.ChatMessage.create({
role: llm.ChatRole.ASSISTANT,
text: "Hello, I'm calling to ask you a question about ice cream. Do you prefer chocolate or vanilla?",
}),
);
Both ways let you tailor the greeting to fit what you need. If you want a hand setting this up or have any questions, just let me know—I’m here to help!
Sources: Company directory phone assistant | LiveKit Docs | Agents telephony integration | LiveKit Docs | Agent speech and audio | LiveKit Docs | packages/sip--make-a-call/README.md