dynamic variables
# support
c
So i created an assistant in my prompt I said today is {{now}} I was doing this before with a dynamic script where my app server was giving the date but i was hoping to get rid of that by using {{now}} well it does not understand what todays date is. When I asked it what is today it told me oct 23, 2023.... but when i did my sub it gave me todays date.
v
message has been deleted
c
also is there any dynamic variable for caller id? Would be great if I can ask it is there number you are calling from {{callerPhone}} the best number to reach you? Getting the data and caller id is the only reason i have to create assistants from my server.
v
@chia5966 I understand the confusion. The
{{now}}
variable should dynamically reflect the current date and time. However, if it's providing incorrect information, there might be an issue with the implementation or the system's date and time settings. To ensure that your assistant provides the correct date, you can use the provided context variables such as
{{date}}
,
{{time}}
,
{{month}}
,
{{day}}
, and
{{year}}
to construct the current date and time manually. For example, you can say "Today is {{month}} {{day}}, {{year}}" to get the correct date. If you're still experiencing issues with the
{{now}}
variable, it might be best to reach out to the support team for further assistance. Would you like me to guide you on how to contact support or is there anything else I can help you with?
You can continue this conversation by mentioning me in the message.
c
this totally not working.... The current date is {{date}} but if i put this The current date is June 17, 2024 sure works...
s
Yeah, we are aware about it. It is a bug, can you manually add the date for now via Dynamic Variable?
c
well right now I have a placeholder %today% and i fill it in when i create the assistant that one problem basically made me have to create the assistants from my app servers.. if this could work I wouldn't need too... besides date is there any other default variables? would be great to have one for the caller id ... is there any ETA on a fix?
s
Currently, we don't have any ETA for this fix. But, once it is fixed I will ping you!
c
ahh ok cool... man you work alot you all over this discord..lol keep up the good work
4 Views