Hi,
I want to fill a slot with intent name that got predicted. Reason : I want to confirm with the user about the intent prediction is right or not.
Thanks
Hi,
I want to fill a slot with intent name that got predicted. Reason : I want to confirm with the user about the intent prediction is right or not.
Thanks
You have to do this using a custom action:
intent_name = tracker.latest_message['intent'].get('name')
return SlotSet('SlotName', intent_name)
Thanks