Hi, I’ve been thrown an error that Slot cannot handle the type List in Rasa Pro CALM.
The slot 'location' is used in the step '1_collect_location' of flow id 'tech_flow', but it is a list slot. List slots are currently not supported in flows. You should change it to a text, boolean or float slot in your domain file! event_key=validator.verify_flows_steps_against_domain.use_of_list_slot_in_flow flow=tech_flow slot=location step=1_collect_location
Is there an alternative for me to use apart from just the given options of text, boolean or float slot ?
I want the slot to be able to store multiple values in the form of either an array or a list, so that by action python file can then loop through those values to retreive my data.
In the documentation here it says it can only handle lists in custom actions.
But how do I store the multiple values in the first place? I am only provided with the option of storing as dictionaries as said here by using the any slot?
Example of my usecase:
User may provide different location names in a single prompt. i.e., NEW YORK, TOKYO, SAN JOSE. So the slot must be stored as a list in the form of [“NEW YORK”,“TOKYO”,“SAN JOSE”]
There is a categorical type of slot for which we can give our preset values according to the slot name. It is not as same as list type which is needed in your case, but is similar to the usage.