Hello,
I’ve attempted to add buttons to a form with zero luck, here is some snippets in my docs. I’ve tried ignoring everything else and just getting one form to work with buttons so ignore everything besides student_profile. I’ve tried adding more NLU data, but also no luck there.
I’ve also tried doing mapping of buttons with value: entity, but get “Failed to fill utterance template ‘/student_inform{“Education_level”: “Less than high school”}’. Tried to replace ‘“Education_level”: “Less than high school”’ but could not find a value for it. There is no slot with this name nor did you pass the value explicitly when calling the template. Return template without filling the template.” It allows me to select a button but immediately expects input from user
Domain File:
Focus on intents: less_than_hs and hs_equivalent
Entity: education_level listed & utterance is listed under actions section
NLU
config: (I know FormPolicy will be deprecated in Rasa 3.0 but this project is due next week for me)
cmd
actions:
stories: