Chatbot Watson - Limit the number of times dialogue falls on a node

Asked

Viewed 59 times

0

I’m developing a chatbot at Watson Conversations and I’ve come across a useful need for dialogue. I need that if the dialogue falls on anything_else 3 times the bot jumps to a dialog requesting contact information from the user, to contact him. Everything is already ready in general. I am only with this difficulty and I have not found any solution next to this that solves my problem.

  • Already solved! Suggestion given by a friend in Stack in English. He suggested initializing a variable at the beginning of the reset dialog, and incrementing it each time the dialog fell into a specific node that I needed. And then use this variable as a criterion for the node I wanted to trigger. It worked exactly as I needed it.

1 answer

1

A simple solution would be to add a "Multiple Response" to the "anythingelse", the third message being a rule for your code, so when receiving this rule you would command where and what to do with the next user response.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.