Hi,I’m using two TwoStageFallbackPolicy and I follow the blog to custom my ActionDefaultAskAffirmation . It says that " Use ‘/<intent_name>’ as payload to directly trigger ‘<intent_name>’ when the button is click".However , when I click the button with the intent “game_query_rating” the robot receive another intent “game_query_video”.
Ok, so that indicates that there is something wrong in your code.
When you append the buttons, you are using intent[1] + entities_text for the title and intent[0] + entities_json for the payload. What is intent[0] and intent[1] in this case? Are there the same?
intent[1] is the mapping result. I map the intent ‘query_game_size’ to '我想知道游戏的大小‘ and intent[0] is the orignal intent which is ‘query_game_size’ .
I print the buttons on the terminal