Multiple slots setting via http api

juste

(Barun) #1

I am new in RASA and need your help. I can understand there is an api for setting slot i.e “conversations/default/{sender_id}/events” and the payload is like { “event”: “slot”, “name”: “gender”, “value”: “male” } Is there any api available to set multiple slots value at one transaction. I need something like below.

[{ “event”: “slot”, “name”: “gender”, “value”: “male” }, { “event”: “slot”, “name”: “age”, “value”: 21 }, { “event”: “slot”, “name”: “name”, “value”: “Peter” } ]


(Juste) #2

Hey @bdbarun. Do you get an error when you pass slots in a list like that?