How can I make my AI agent say something when doin...
# ask-ai
a
How can I make my AI agent say something when doing many function calls (to avoid the weird delay)
t
Thanks for reaching out, Anthony. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I totally understand how waiting during multiple function calls can feel a bit frustrating, so here are some friendly strategies to keep your users engaged and make the experience smoother: • Static Messages: You might try using simple, reassuring phrases like "Let me look that up..." to gently let users know there's a short delay. • Dynamic Responses: Creating brief, context-aware messages with your LLM can really help the conversation feel more natural and alive. • Pre-Recorded Audio: Playing a quick audio clip to simulate thinking or searching can be a nice touch, giving faster feedback without relying on text-to-speech each time. • Fast LLM for Preemptive Responses: Using a quicker LLM to send immediate acknowledgment messages while the main process works behind the scenes can keep things moving smoothly. Combining these approaches can really enhance the user experience and make those wait times feel much shorter. I hope this helps you create a more engaging interaction! Sources: README.md | tests/test_agent_session.py | Agent speech and audio | LiveKit Docs