Misinterpretation of date (20 and 26th)
# support
g
I’m working on a scheduling voice assistant for inspection bookings and ran into Issue: Assistant confirms a correct inspection date, but when presenting available slots, it speaks a different date. Detailed Description: User requests “Next Wednesday” → agent confirms Nov 26 → calendar check succeeds → agent announces slot availability for Nov 20 instead. The spoken output does not reuse the confirmed date, and instead it regenerates a new one. This is happening for almost any date involving twenty.. Expected vs Actual: Expected: After user confirms a date, all responses must repeat the exact same confirmed date. Actual: Assistant alternates between Nov 26 (confirmation) and Nov 20 (availability), causing user confusion and call abandonment. Call ID: 019aa27b-6518-7eec-9d9c-541f5dba4143 Time stamp: Assistant (2:17:04 PM(+00:32.84))
v
To ensure your assistant always repeats the confirmed date, explicitly set and reuse a variable for the selected date in all prompt steps. For example:
Copy code
markdown
1. Ask: "You requested an inspection for {{confirmed_date}}. Here are the available slots for that day: {{available_slots}}."
2. <wait for user response>
3. Always reference {{confirmed_date}} in all subsequent messages.
This approach prevents the assistant from regenerating or mispronouncing the date, maintaining consistency as recommended in the [prompting guide](https://docs.vapi.ai/prompting-guide). Source: - [Voice AI Prompting Guide](https://docs.vapi.ai/prompting-guide)
g
Hey @Vapi Support Bot I have done multiple tries. this is the most recent call ID: 019abbd5-5116-7115-86e8-15218b92dc32
v
Thank you for sharing the recent call ID and details. To help pinpoint the issue, could you confirm whether you are explicitly referencing the same
{{confirmed_date}}
variable in every prompt step (including when presenting available slots), or is the date being regenerated or reformatted at any point in your workflow? Source: - [Voice AI Prompting Guide](https://docs.vapi.ai/prompting-guide)
g
@User I have integrated the {{confirmed_date}} in my system prompt. The llm is getting confused between the 20 and any date with 20.
it is being regenerated
6 Views