How do I give the AI the context of the current da...
# support
r
I am trying to provide the context of the current day and time using {{date}} {{time}} variables in the prompt but it is not working well when the user says tomorrow or dayafter or something arbitrary like that. I am using a transient assistant which I am returning from an API. Do I need to integrate another GPT function call just for this? But if so shouldn't I be able to do it via the prompt itself? I am a bit confused about the path to take and would appreciate some help. Thanks!
Check this out
r
I checked it out but this is not helpful. I have checked all the videos but they don’t mention anywhere as to how I can use the current date.
I am using the open ai gpt 4.0. Ideally this llm should know the current date and time but through vapi it doesn’t work
I am using a dynamic transient based assistant which I am returning through a webhook in make.com. I am providing the current date there as well using the formatDate(now;YYYY-MM-DD) function. I have checked the response and the date is present in the prompt but the assistant still struggles to understand the current date. Some tips and tricks on this would be appreciated. Thanks!
For context, this is the assistant that I am returning as a dynamic transient-based assistant and I am having a lot of issues with the date. https://cdn.discordapp.com/attachments/1256568685443682337/1264940462104383508/message.txt?ex=669fb31b&is=669e619b&hm=48dde654507a3a59245fb9d985b6cc2e32342c2369b4d4e681a27b627b0c6a47&
I have reduced the temperature as recommended and am using gpt40 which is supposed to be good but you can see how bad it is in the following recordings - 1) call id - 5479b977-1808-47b4-af76-5e81cce5c959 -> 1 minute onwards where it repeats some details and gets the date wrong in the end 2) call id - a59ffa21-1666-4754-91cf-69a63bef5b44 -> last 1 minute I would really appreciate some help with making the assistant more reliable. If there is some issue with my prompt please let me know. Or if there are any workarounds working for other people, I would love to know
@Sahil
s
Can you please create a new support ticket?
s
@r7sh7 closing this ticket for now.
4 Views