Dates in AI replies are now calculated and checked

Roger Junior
Co-Founder, Product and Engineering

Published

2 min read
Product Update
A Hay.chat conversation where the assistant calculates three business days from Tuesday 10 November and tells the customer the order ships by Friday 13 November.

AI models are good with words and unreliable with calendars. Ask one what date falls three business days from today and it will sometimes name the wrong day, or a Friday that is really a Thursday. In customer support that becomes a missed delivery promise or a return window that closed a day early.

Hay.chat now takes the counting away from the model. It is on for every plan, hosted and self-hosted, with nothing to switch on.

Dates are counted, not guessed#

When a reply needs a date, such as when an order will ship or the last day to send something back, your assistant asks a calendar instead of estimating. It counts business days or calendar days from a starting date and gets back the exact date with its weekday. Weekends are skipped when counting business days.

Every date is checked before it is sent#

Before a reply goes out, Hay.chat reads it for dates. If one cannot exist, such as 31 November, or carries the wrong weekday, the reply is not sent. The assistant gets one more attempt. If the date is still wrong, the conversation goes to your team instead of to the customer.

What to know#

  • The check reads dates written in English, Portuguese and Spanish.
  • Phrases such as "by Friday" or "next week" name no calendar date, so they are not checked.
  • Business-day counting does not know about public holidays yet. If your policy depends on them, say so in your playbook.

You can see the calculation in any conversation, next to the other actions your assistant took.

Try it in a 30-day free trial.

About the Author

Roger Junior

Co-Founder, Product and Engineering

Roger designs and builds Hay.chat's architecture. Before this he was a UX/UI designer working with international development teams at global companies, and he's now the technical founder behind the product.