I want to build NLG service, which can respond text from *.yml file, I build it rasa.nlg component return await TemplatedNaturalLanguageGenerator(domain.templates).generate( template, tracker, channel_name, **kwargs ) my question is I want to respond response specific to channel(Facebook/slack) also specific to languages(English,german), I want nested channel option, also when channel specific text not available want to provide default in both channel levels, is it possible to achieve in rasa.core?
my template looks like something below. utter_channel_company: - channel: “facebook” - channel: “en” text : "You’re talking to me on Facebook! - channel: ‘de’ text: “Du sprichst mit mir auf Facebook!”
- channel: "slack"
- channel: "en"
text : "You're talking to me on slack!"
- channel: 'de'
text: "Du sprichst mit mir auf slack!"