Incorrect timestamps passed to plugin

Hi
my plugin retrieves data within a time interval, startDate and endDate. ChatGPT consistently uses wrong timestamps for relative dates (eg. today, now, last 6 hours, etc). The AI-model has no knowledge about current time, how is this supposed to work with plugins ? Coding any possible relative time combinations in my plugin parameters would be pretty inconvenient.

Nico

Why does your plugin need to get the time from ChatGPT?

Wouldn’t it be better to pull the time from NIST anyway?

Could you create an API endpoint letting ChatGPT to know to query the current time from your server before doing a query that requires a startTime and endTime?

I did test the approach of first having ChatGPT ask for the time before querying an api with a date range. This does work.

Sample Configuration is below

2 Likes