speaq-ai / react-ui

Production React UI for Speak-ai.
0 stars 1 forks source link

Improve watson dialogue tree #38

Open ianhansborough opened 4 years ago

ianhansborough commented 4 years ago
jacobpa commented 4 years ago

I saw that someone had created a #cancel intent. I wired it so that for all of our dialog trees, if this intent is recognized when prompting for details, the dialog tree will exit. This is done in the slot configuration for each dialog action, under "Manage handlers"

Context variables persist, but should not be an issue as relevant context variables are always cleared before entering a dialog tree. It should not behave any differently than if the conversation was completed successfully, though watch for issues.