Hello,
How can I use a slot that holds a list of variable length that is given by user? For example the bot asks: " How many elements ?", then the user inputs a number and then the bot asks exactly that number of times for an element ( the full text entered by the user is the element).
I have tried FormAction with the following: a slot with the number of elements, then a slot for one element and a slot with initial value []. In the validation function for one element I force a reset to none until the bot asks the given number of times and I want in this function to add the values to the other slot that holds the list. I attempted to append like in normal Python lists but the slot remains []. How can this effect be achieved? I have spent a lot of time but can’t figure this out.
Hi Adrian Florin. Does the conversation get affected by the slot type. I see that unfeaturized type only does not affect conversation. So, I am wondering what happens as you are using list type for slot.