Set slot and entity with Rasa buttons

Hello!

That’s correct. Though you use single brackets inside Custom Actions.


You don’t necessarily need to use quotes around the payload.

Look at this example.


You’re correct. With the payload, you are forcing the bot to take this value as an entity.

I would still recommend adding the values in your examples though, just in case the user decides to types instead of clicking a button - unless you want to disable the text input when there are buttons.


The current way to set a slot via a payload is by setting its entity and having auto-fill.

1 Like