List requirements for custom actions for data validation

Hi everyone, in my custom actions I use some ´dispatcher.utter_message(response="…")´ calls to send messages using defined utterances in the domain.yml file. I used this approach to have all answers in one place to make it easier to change answers using Rasa X. When validating the data using rasa data validate I get several errors like UserWarning: The utterance '...' is not used in any story or rule.. Is there a way to exclude these utterances from validation or even better add them as required utterances to the custom action. This kind of requirements for custom actions could also include slots and could help with the validation and testing of custom actions.

I am looking forward to hear your thoughts and ideas,

kind regards,

Sören

It’s a warning, not an error, you don’t have to worry about it :slight_smile:

And there is no way to “fix” it except including it in stories or rules as the warning suggests.