How handle dates using duckling? - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum
How handle dates using duckling?
post by manoj_kumar on Dec 1, 2020
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 previous date as an input and scheduling the payment.
Kindly, anyone help out to overcome with this issue
Thanks in advance
post by ChikkaUdayaSai on Dec 1, 2020
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 message.
post by manoj_kumar on Dec 2, 2020
Hi @ChikkaUdayaSai,
I tried and re-trained it. But, I am getting the same output.
Could you please explain me the process step-by-step?
Thanks
Related topics
| Topic | Replies | Views | Activity |
|---|---|---|---|
| Handling Date in action | 2 | 319 | Dec 2020 |
| How to create a Date slot such that it should be greater than current date | 29 | 2.0k | Sep 2021 |
| Slot validation for date | 7 | 1.4k | Nov 2021 |
| How to handle date input from user? | 6 | 955 | Sep 2021 |
| Handling Dates in Rasa Action | 12 | 7.0k | Aug 2018 |