AI Zone Admin Forum Add your forum

NEWS: survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Resetting topics

Hi! I am experiencing a bug with my chatbot.

My bot is integrated into Facebook Messenger. I want to restart it for every conversation, even if it’s the same user. So I need to rebuild and reset my bot every time the conversation starts.

The problem is that after :build :reset the last topic of the previous conversation becomes the current topic for the new convo. So I basically need to do :build :build :reset to get it to start with my ~start() topic. Is there a better solution for this?

Thank you!


  [ # 1 ]

you do not need to rebuild your bot by using :build.  You just need the user’s conversation to be reset.
You can detect the start of a new conversation and issue a :reset from within it.

You can also do instead a ^reset(TOPIC *)  to reset all topics and NOT lose other data you have accumulated.


  login or register to react