2

I would like to create a "back to previous" button after each response for users who realize that they inputted the wrong answer and would like to start over

Mmihi
  • 21
  • 2
  • Hi, Mmihi. Welcome to Stack Overflow! Could you please provide some more detail. For example, any code you have written. Providing more detail will increase the likelihood of you getting an answer. – 0rdinal Mar 13 '21 at 09:57

1 Answers1

1

To do this in the last version of Watson Assistant you need to create an Intent ("go_back" for example) and then use the Jump functionality to go back to the previous node if the go_back intent is recognized -- a Jump must be manually configured in all nodes where you want "go_back" to be possible in your Dialog.

I hope this answer helps you.

  • How can a go back intent be recognized after a response without the intent? – Mmihi Mar 14 '21 at 10:05
  • What i mean is I would like there to be an "option" to go back to previous regardless of whether someone asks for it – Mmihi Mar 14 '21 at 10:07
  • If nobody asks for it (through text input or option button click) there is no way your Assistant will "know" it has to "go back". Can you provide a detailed dialog example of user inputs and what response you expect from the Assistant? – Vanderlei Filho Mar 14 '21 at 11:52
  • On the welcome node, I have 4 options that the user responds to by selecting one. What if he realized that he didn't want to pick that option. He cannot go back to the welcome to restart. Can I share a screenshot here? – Mmihi Mar 15 '21 at 13:26
  • You can update your question with the screenshot. – Vanderlei Filho Mar 15 '21 at 18:04