1
votes

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!

1
There are abundant of examples ion the net. This site requires you to make some attempt. Do your research first., - Mahendra Gunawardena
Yes Mahendra I did indeed! What I am searching is for how to travel to a particular node via python code. - Pranzell
Did you manage to solve this?! I am looking for something similar! @Pranzell I want to check if a simple if condition if some data is in a db, and if not, jump to the start node. If it is, keep it going! - M.K

1 Answers

1
votes

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.