@Juste@Ghostvv@akelad Hey, I have a form in which i am setting multiple slots , if the user restarts the chat or refreshes the chat and some slots are left to be filled.
Then even for right intent the bot doesnt repond and still keeps on requesting slots.
How should I make the bost to forget about slots on restart or brak of form and start afresh.??
Hey @pranay_raj. You want to add AllSlotsReset() event to your assistant. You can find the details about it here.
The process is to add this event to one of your custom actions and this action at the end of your training stories so that when the conversation ends, all slots are reset
@Juste The issue is tracker isnt going to custom action, its predicting âaction_listenâ even after â/restartâ intent is kicked or chat is restarted.
Its predicting âaction_listenâ because of the ârequested_slotâ , so the formPolicy is activated and it predicts âaction_listenâ.
so the custom actions arent even called then.
Oh, so this is because you donât have an action which deactivates the form. At the end of your form, when itâs filled you should have an action form{"name":null} included so that your assistant would finish the from and allow other dialogue policies to take over and make the predictions. So for example, you story would look like the following: