current date time
# support
b
When scheduling appointments, the voice model do not have the content of the current month or date specific to the current year. When I say "Tuesday next week @ 2pm", the model doesn't use the current date. Anyone faced this issue?
v
@binaryruel I understand that you're experiencing an issue where the voice model isn't recognizing relative dates and times like "Tuesday next week @ 2pm" in the context of the current date. To assist you better, could you please provide more details on how you're currently implementing the date and time recognition in your system? Are you using a specific library or service to parse these relative date expressions? With more information, I can guide you on how to possibly resolve this issue or suggest an alternative approach.
You can continue this conversation by mentioning me in the message.
b
I just need the bot to always use the current date time. So when the caller says "Tuesday next week @ 2pm", it'll be the exact date. For this instance, "Tuesday next week @ 2pm" will be "September 10th @ 2PM".
s
you have to feed the current date and time to the assistant using assistant overrides and dynamic variables..
b
how do you do that?
s
check vapi docs for assistant overrides, dynamic varilables and request assistant server event.
2 Views