Reputation: 55
I'm using IBM Watson Conversation service, and I was wondering if there is a possibility to jump backwards (one step) to the previous node in the dialog.
Upvotes: 0
Views: 454
Reputation: 17118
Yes, you can define a jump to
in the response. As part of that you have to identify the target node. It needs to exist which is true for a previous or parent node.
If you want to jump back to a previous step in the dialog, you could do that programatically. You need to save the context object (in a buffer / stack) and later pass it back with the message API request.
Upvotes: 1
Reputation: 411
Yes, using the jump-to you can specify any node. Example
Basically, you need to create a node with the condition where it needs to go back, and then change it to "jump-to" instead of "waiting for user input" and then select the target node.
Edit: Didn't see that data_henrik had already responded
Upvotes: 1