How handle dates using duckling?

How to handle and differentiate dates using duckling?

If the user’s given date is less than today’s date, the bot should give output as an invalid or wrong date.

In financial bot it was taking any pervious date as an input and scheduling the payment.

Kindly, anyone help out to overcome with this issue

Thanks in advance

Basically you need to write validate function in your form logic. In that function, if the slot value is less than today, you just need to return None with some useful mesage.

Hi @ChikkaUdayaSai,

I tried and re-trained it. But, I am getting same output.

Could you please explain me the process step-by-step?

Thanks