Intent to inform a value to a slot

I have an entity called “game” and wanted to create a payload that fills this entity with a certain value, for example:

{"title": "The Elder Scrolls V: Skyrim", "payload":'/game{"game":"72850"'}

but when I click the button it says that the intent game was not found, how could I fix it?

have you specified the intent game in the domain?

Your payload is treated by rasa as shown below.

/intent_name{"entity_name":"entity_value"}

in the domain, the “game” is specified as an entity

when you send a payload like this

rasa treats it like

/intent_name{“entity_name”:“entity_value”}

/game => intent named game

and {“game”:“”} => entity named game

In your case, you added the game entity but missed the game intent.

add that to your domain and the issue will be resolved

Worked =D

Thank you!

1 Like