Hi,
I have a slot that is of type list. And this slot is required slot for a form. What I’m seeing is that forms does not request for list slot as empty list is still a list. What is the work around for this?
P.S:
Rasa Version : 2.8.13
Minimum Compatible Version: 2.8.9
Rasa SDK Version : 2.8.4
Rasa X Version : 0.39.3
Python Version : 3.8.8
@nik202
I’m training rasa on ros, just that instead of using rasa shell --debug im using rasa x like you pointed out. Will try that once and get back. Thanks
@Juste kindly refer to this - Forms does not fill list slot - #3 by lis
Basically I have cc_num entity which could take more than one value. cc_num is also a slot of type list. This slot is a part of the form, but it skips filling the cc_num slot as [] is still a list. Any inputs?
dataset containing examples with two entities - cc_num and cc_type. user can enter more than one value in cc_num and just one value in cc_type. So one example in my dataset looks like:
Can you get user details for [34567](cc_num), [37848](cc_num), [23452](cc_num) under [individual](cc_type) type
Intent is rightly identified. Entities are extracted properly. Now form is triggered as well
Bot: Please provide cc type.
cc_num slot is set to [“23456”]
Me: individual
After this bot sets cc_type slot to individual and cc_num slot to [] and exits the form to trigger action_user_details. So when it triggers action_user_details slots filled is only cc_type and not cc_num. Ideally it should not exit the form as cc_num is a required_slot. But since it is a ListSlot and since [] is still a list, it exits.
Hope this was clear. Need inputs on why it is going wrong. Thanks in advance
sure @nik202. I put this slot_was_set after checking how a list slot was getting converted to a story in rasa x. So, if there were more than one number entities it would be like: