Name slot issue

Hi guys so check this out user: Hi

bot: hey

user: where is Akshit working today?

bot: Akshit is currently working in Whitefield, Bangaluru

user: where is Paresh working then?

bot: Akshit is currently working in Whitefield, Bangaluru

So I think what’s happening is the slot is still keeping the information even after running the action, I think the slot is not changing the value. Can you guy tell me what am i missing? I have commented that get_slot and set_slot lines in custom action. Can someone explain to me how slot filling works! I have gone thru the doc but still kinda confused. Thanks for your help!!

Looks like the previous slot isn’t getting overwritten by the current one. It could be that the name Paresh is not getting captured.

Can you try starting with Paresh as the name and see what happens? Is the slot getting filled?Also, once you are done with using the current slot in your custom action, you can set_slot() to None so it clears the current value.

1 Like

okay I’ll try that