1

If at a specific step of my dialog, the end user answers an unexpected word and the process moves to "anything_else" point (that would be something like: "I don't understand, could you repeat?"), how do I get the dialog to move back to the previous question, for the user to try again?

ralphearle
  • 1,696
  • 13
  • 18
Bruno Braga
  • 117
  • 10

1 Answers1

1

There is no easy way or automatic method to achieve what you ask. However, if you set up your dialog nodes to consider the question that follows re-direct, i.e. as one of the root nodes, then the conversation flow should jump to this point in the conversation flow.
Alternatively you could create a dialog node that sits above the anything_else node, but performs a similar role. This dialog node could still output the text "I don't understand.." but then continue back to the original point in the dialog structure.
A final solution, but not one I would implement myself, could be to store the json context packet from not just the current answer, but also from the previous set of answers. This would allow you to roll back to any point you stored.

timd
  • 376
  • 1
  • 8
  • How to do that? What command I have to do to restore a saved point in the conversation? "A final solution, but not one I would implement myself, could be to store the json context packet from not just the current answer, but also from the previous set of answers. This would allow you to roll back to any point you stored." – Bruno Braga Nov 12 '16 at 20:04
  • Watson Dialog that is not supported anymore have . That Global folder is similar to everything_else BUT it restore the conversation at the same point that it was stopped. If Watson Conversation is a evolution it should be possible... :/ – Bruno Braga Nov 12 '16 at 20:07
  • Watson Dialog and Watson Conversation service are two different systems. There is a very good post by Simon (http://stackoverflow.com/questions/40567331/from-dialog-to-conversation-how-to-do-what-folder-label-global-do/40575181#40575181 ) Which I believe is an answer to one of your questions.
    As Simon says, its the job of the application layer to store and handle the context packet. And thus the location / flow of the conversation service. Unlike Dialog, WCS is state less.
    – timd Nov 23 '16 at 09:30