Hi,
I need to fetch a header value from request on rasa server and store the same value in a slot. How can it be done?
Thanks
Hi,
I need to fetch a header value from request on rasa server and store the same value in a slot. How can it be done?
Thanks
@ojas If you want to set a slot with a header’s value, you could use this endpoint and add this body to the request:
[
{
"event": "slot",
"name": "placeholder_for_slot_name",
"value": "placeholder_for_slot_value" # the datatype must match the type of the slot
}
]
Hope this helps!
@anca Thanks for the solution.