I am developing a Rasa Calm chatbot that interacts with a simulated robot. When the user asks the robot to move an object, it prompts for the destination location. However, if the user interrupts the ongoing flow, the chatbot behaves erratically and sets the destination location automatically. For example, if the user asks to move the brush and then moves the can without specifying the source location, the chatbot incorrectly sets the destination location for the brush.Here is an example of the issue:
- User: Move the brush.
- Robot: Where would you like me to move the brush to?
- User: Move the can from the kitchen to the dining room.
- Robot: Moving brush from bedroom table to dining room table.
The chatbot is using a flow named “move object no location” when the user does not specify the source location of the object. In this case, the brush location is correctly determined as the bedroom table, but the destination location is set to the dining room table without any input. The chatbot’s behavior is unusual because it sets the destination location for the brush without any user input.The end-to-end flow from the inspector is as follows:
- User: Move the brush.
- Robot: Where would you like me to move the brush to?
- User: Move the can from the kitchen to the dining room.
- Robot: Moving brush from bedroom table to dining room table.
- Robot: Where would you like me to move the can to?
- Robot: utter_flow_continue_interrupted
- Robot: utter_corrected_previous_input
- Robot: Where would you like me to move the can to?