https://retellai.com/?utm_source=discord&utm_medium=seo logo
f
in my script there is a question, where AI Agent ask customer was the event happened in last 12 months and if the customer answering with any date then AI Agent not able to calculate that, how to fix this ?
@Omar Ashraf | Community Lead @Colin - Integrations @ Retell AI
c
use the {{current_time}} variable
f
#context current date : {{current_time}} it is already added in Global Prompt
shall I add it in NODE ?
c
the general prompt should be fine
having an ai review your prompt is the best option, however if you can't find a solution many people have tried time lookups by passing the accident date through a custom function