I have an action which sets a categorical slot which can take up to 5 possible values, and these values will influence the story later on which is why the slot has to be of type categorical. The current set up for the stories is:
- intent: inform - action: action_update_slot_value - slot_was_set: - slot_name: slot value - action: utter_continue
As some of the slot values will result in the same questions being asked later on, does RASA allow for multiple values to be put in the slot_was_set event, and if the action updates the slot value with just one of the options, it will continue on with the story? I currently plan to have another similar situation later into the stories so I was facing potentially having to write 100+ stories to account for every possible combination of slot values. Is something like this possible:
- story: 1 steps: - intent: inform - action: action_update_slot_value - slot_was_set: - slot_name: value1, value2 - action: utter_continue - story: 2 steps: - intent: inform - action: action_update_slot_value - slot_was_set: - slot_name: value3, value4, value5 - action: utter_continue
Currently I have tried with and without values enclosed in [ ], using yaml list format, and trying with an ‘OR’ statement with no success. Is this even possible with RASA, or would it require going into the source code for slot_was_set to achieve this?
RASA version: 2.1.0