Hi I would like to know how to fill my_slot just once no matter it’s successful or failed.if entity is extracted, slot can be filled , otherwise it’s None as initial. I already tried from_text , but it will fill slot by user’s mesage text .it’s not what i want, i hope try to extract entity for just once no matter successful or failed.
Maybe you can give a bit more context… Are you filling it in a form?
You could definitely use a custom slot mapping and set your slot in a custom action. In the case that the entity does not get set correctly you can just set the slot to None again.
Thx, it was really heplful!