Issue with time variable
# support
k
I am trying to get my bot to understand the day of week, current date and time. I have put in: Today is {{ "now" | date: "%b %d, %Y, %I:%M %p", "America/New_York" }}. If they ask questions about a specific date, your answers should be relative to todays date. 1. It was able to say the correct date for today 2. It is jumping around when I ask what tomorrow is- it has said Sunday and Monday 3. call logs: 9b4d114d-30d0-40f2-8e9f-83a691381e88 9ce7c41d-f28f-4ecb-8e4b-8a2c339e042c Please let me know what changes to make to get this to work. Also wondering if this should be in response guidlines or somewhere else in instructions @User @User @User
k
Looking into it
Copy code
\n\n- Opening Hours:\nToday is Apr 22, 2025, 10:08 AM. \nIf they ask questions about a specific date, your answers should be relative to todays date.\n\"Bird and Co is open Monday's from 11 AM to 9 PM; Tuesday through Friday from 11 AM to 9:30 PM; Saturday from 10 AM to 9:30 PM; and Sunday from 10 AM to 9 PM.
You need to explicitly provide date, time, and the day so the assistant or the model gets to know what's the current date, time, and the day, and after that, it will answer the questions correctly. As of now, you have only provided the date and time, which is why it's fumbling on the days' answers or asks