Whenever user inputs a unparliamentary word, even with any input such as greeting, I wish to provide a single response message. Is it possible? Pls help
you can do this by implementing a custom NLU component that would set the user intent to
profanity for example whenever an unparliamentary word is inputted. Afterward, you’d have a rule for handling that intent and uttering whatever you want (or triggering an action you’d like).
You can refer to custom component docs here Custom Graph Components
Good luck and let me know if you need anything else.