Search code examples
pythonibm-cloudibm-watsonchatbotwatson-conversation

IBM Watson Conversation - Python: Make chat bot jump to some intent & get back to previous intent


I am working on a chat-box. I am using IBM Watson Conversation to make a conversation bot. My query is:

Suppose the user is talking to the bot in some specific node, and suddenly the user asks a random question, like "what is the weather?", my bot should be able to connect to few Internet websites, search the content and come with a relevant reply, and after that as the user inputs to get back to the previous topic, the bot should be able to resume from where it left.

Summary: How to code in Python to make the bot jump to some intent and then get back to previous intent. Thanks!


Solution

  • Search for a "request response". This is a way to redirect the conversation / dialog flow to your app, and then forward it back to watson.

    Hope it helps.