Querying JSON Dates in OpenAI Assistant

Hi Team,

I’m using OpenAI Assistant and uploaded a JSON file where each item contains a date field in a global format. However, when I query the assistant to retrieve the latest item, it doesn’t return the correct result.

Do you have any suggestions on what I should do? Should I modify the date format in the JSON file, or adjust the way I phrase my prompt?

Thank you,
Noam

1 Like
  1. Use function calling, not Retrieval
  2. Provide the model with the current date
2 Likes