I am trying human handoff feature in RASA and I am stuck from a week. I am using rasa webchat as frontend.
class ActionTalkToAgent(Action): def name(self): return "action_talk_to_agent" def run(self, dispatcher, tracker, domain): return [ConversationPaused()]
this is my code for conversation paused but the bot is still replying.
I want the bot to stop the conversation after the very first intent example statement.
But what’s happening here is the bot is paused only for those intents statements which I have mentioned in nlu. Then it replys normally.
Also, for human hand off if I am using rasa webchat botfront how to do a handoff?? like we have events in socketio as bot_uttered or user_uttered… how can we inherit this from its parent class and make an event human_uttered event. Or can we know the socketIO room ID of the rasa so that we can enter into that room through socketIO connect.
please help as this project is taking me long and there are no use case available on the internet.
Take a look at the working handoff example in the financial-assistant which is described here. This example hands off between two rasa bots but the concept is the same. It uses a customized version of the chatroom widget.
hello @stephens Happy New Year!! to you and Team Rasa…
so I am successful on conversation paused.
as you mentioned above I am following the same way of handoff…
I am getting none for variable (handoff_to) and (url)
please note I am using webchat botfront as frontend
and a separate flask app for human admin
is it possible to chat from botfront webchat via flask app???