Is this a custom chat client? Or how is it that you’re displaying the conversation history (it looks like you’re using a connection to your tracker store to render the chat)?
It seems like you might just need to suppress displaying that message that’s being sent on behalf of the user and instead provide some visual cue that the button was clicked. If you’re connecting directly to the tracker store to get the conversation history, you could probably just filter out any message that starts with /.
Normally, when I handle buttons, I display the title of the clicked button as an user’s message in the chat UI. So in this case, if you click “Shared Drive” it will display “Shared Drive” as an user’s message, but I still send the payload to the Rasa server for consistency. Of course you can only do this if you are using your own custom chat UI or you are able to modify it.
It’s hard to identify what’s wrong only from this, do you have any logs of the Rasa server ?
- text: "In order to help you with your shared drive issue, I have to ask you some questions"
- text: "In order to help you with your security group issue, I have to ask you some questions"
- text: "Is there another problem?"
I’m guessing since I am not seeing those utterances, the payloads are not grabbing the intents properly.
For fun I removed the slot filling portion for the buttons -
- text: "Are you trying to get access to a Shared Drive, Security Group or neither?"
- title: "Shared Drive"
- title: "Security Group"
- title: "Neither"