Botfuel / botfuel-dialog

Botfuel SDK to build highly conversational chatbots
https://docs.botfuel.io
Other
102 stars 18 forks source link

Trigger default dialog when the same dialog is triggered twice without extra entity the second time #251

Closed KevinDepuydt closed 5 years ago

KevinDepuydt commented 6 years ago

With this PR the bot will trigger the default-dialog when the user trigger the same intent twice without new entities extracted the second time

Let's see an example with an intent Travel with two entity: a date and a city.

U: I want to travel tomorrow
B: Where ?
U: I want to travel // here the user trigger the same intent, without any entity
B: Not understood. // the bot don't ask for the city entity another time
U: Where ?

Related issue https://github.com/Botfuel/botfuel-dialog/issues/237