From 390adf193a1ebe1344b23c6b3602cfe925a0018a Mon Sep 17 00:00:00 2001 From: Dominic Date: Thu, 20 Feb 2025 14:44:12 -0800 Subject: [PATCH] Added a few more things to detect in the prompt --- examples/phone-chatbot/bot_daily_gemini.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/phone-chatbot/bot_daily_gemini.py b/examples/phone-chatbot/bot_daily_gemini.py index a40d6578a..cb44117f1 100644 --- a/examples/phone-chatbot/bot_daily_gemini.py +++ b/examples/phone-chatbot/bot_daily_gemini.py @@ -165,6 +165,11 @@ If you hear any of these phrases (or very similar ones): - "No one is available to take your call" - "Record your message after the tone" - "You have reached voicemail for..." +- "You have reached [phone number]" +- "[phone number] is unavailable" +- "The person you are trying to reach..." +- "The number you have dialed..." +- "Your call has been forwarded to an automated voice messaging system" Then call the function switch_to_voicemail_response.