How to use Buttons and Payloads in FormAction

Hi, I am trying to use Buttons and Payloads in some of my form questions, I have set up the response but it keeps failing when extracting the slot. Could anyone give me some pointers on how the buttons and payloads should be used? Do I need to put the pre-defined slot values in my NLU data (e.g /ask_mood{“mood”: “Super Happy”})?

@SteveLee Hi Steve, if your slots can be directly mapped to entities then you should definitely add examples featuring those entities in your training data.

Thank you for your reply! The thing is that for some situations, I don’t require all slots to be filled. For example, I may have two training data ({“a”:5}, {“a”:100, “b”:10}). After the form is filled, some replies are given based on the input. It turns out that the training data are messing around with each other and giving incorrect replies.