Hi Rasa Community!
I’ve been trying to connect two chatbots for a while now, but can’t find the missing piece of the puzzle and thought that maybe someone of you has made a similar attempt and maybe this is also an interesting topic for other RASA users. Here is the scenario:
Chatbot 1: RASA Chatbot
Chatbot 2: A chatbot written in Python which is capable of reasoning with the user.
Since most people here know the RASA framework, I’ll go into a bit more detail about the second chatbot. I built a graph consisting of arguments and counterarguments. When a user makes an argument, the chatbot searches for a similar argument in the graph and then presents the corresponding counterargument. If the user agrees, the chatbot simply brings something new and so on. I would have liked to write this chatbot directly in RASA, but that seemed impossible to me. So my idea right now is that when the user says a statement that could be followed by an argumentation/discussion, the RASA chatbot asks “Do you want to argue about this?”. If the user says yes, it is passed to the other chatbot, which argues with the user until there are no more arguments or the user says stop. Then the RASA chatbot takes over again. Of course it makes sense to do this through actionscripts, but I’m stuck at this point. For example, would I have to host both chatbots separately and have the user messages acted upon by one or the other chatbot according to certain criteria? If so, is that possible? Or could I somehow integrate the Python chatbot into the RASA bot as some kind of submodule? Where NLU is not done by RASA Nlu, but by the specific NLU component of my Python bot.
I would be sooo grateful for comments, tips, redirects to similar attempts (in Github) or further suggestions!
Many thanks! Linda