Hi,
I have a Rasa installation with multiple custom channels, and there are multiple response variants in the domains for the different intents. I can specify the responses in the following way (based on the documentation Responses (rasa.com)):
responses:
utter_intent_1:
- channel: channel_1
text: response_in1_ch1
- channel: channel_2
text: response_in1_ch2
utter_intent_2:
- channel: channel_1
text: response_in2_ch1
- channel: channel_2
text: response_in2_ch2
But if I would like to specify multiple variants for one given channel of an intent, I need the specify the channel again and again, like this:
responses:
utter_intent_1:
- channel: channel_1
text: response_in1_ch1_variant_1
- channel: channel_2
text: response_in1_ch2_variant_1
- channel: channel_1
text: response_in1_ch1_variant_2
- channel: channel_2
text: response_in1_ch2_variant_2
utter_intent_2:
- channel: channel_1
text: response_in2_ch1_variant_1
- channel: channel_2
text: response_in2_ch2_variant_1
- channel: channel_1
text: response_in2_ch1_variant_2
- channel: channel_2
text: response_in2_ch2_variant_2
Is there any other way to implement this (like grouping somehow the responses under a given channel)?
Thanks for any suggestion!