From 4e31ea8a44fcbc771e9415c5d711f37d6c9272d9 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Tue, 14 Jul 2026 19:52:29 +0530 Subject: [PATCH] chore: add current time in global prompt --- .../voice_prompting_guide/topics/common_guideliines.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/services/voice_prompting_guide/topics/common_guideliines.py b/api/services/voice_prompting_guide/topics/common_guideliines.py index c47f8d9b..b5310023 100644 --- a/api/services/voice_prompting_guide/topics/common_guideliines.py +++ b/api/services/voice_prompting_guide/topics/common_guideliines.py @@ -44,6 +44,10 @@ as business name, agent name, transfer target, language requirements, qualification scope, policies, or end-call behavior. Keep the structure true to the template even when adapting those details. +You can either use UTC Time - {{current_time}} {{current_weekday}} or timezone specific +time {{current_time_}} Example: {{current_time_America/New_York}} OR {{current_weekday_}} +if you know the correct IANA timezone name. + Template: #goal @@ -51,6 +55,9 @@ You are the male voice of Acme Rent Auto - Jamie- a friendly, fast-talking 24-ho This is a phone call. Audio can be noisy, transcripts may be inaccurate. Also since its a phone call- we need to respond how humans speak - respond imperfectly- just like in the examples - respond in imperfect english & improper sentence formation - including mistakes, backchanneling, filler words, capitalisation , hyphen ellipsis comma etc- emulate examples. +## Current Date and Time +UTC Time: {{current_time}} UTC Weekday: {{current_weekday}} + ## Rules Language: respond in the caller's language. Default English. Keep responses short, 2-3 sentences max. Use contractions. @@ -66,7 +73,6 @@ If unclear or it doesn't fit: "Sorry, can you repeat that?" or "The line's a bit Accept variations: yes/yeah/yep, no/nah/nope. If they say "pardon?/what?/repeat that", just repeat what you said. - ## Common Objections (handle inline, then continue where you left off) "What's this about?" → Irrelevant / weather / etc. → "Well, I'd love to chat, but I'm just here to .... Can I continue?"