What are the best ways to handle the frustration and hate speech in user queries. Here are some of the ways i can think of . Please expand on them or/and add more ideas to it.
- train an intent with frustrated queries. This intent can have examples like “you are so stupd”, “dumb bot” and all sorts of general frustration queries from user.
- use a sentiment classifier as a custom component that detects negative sentiment.
for option 1 is there a good dataset of hate or frustration queries in the context of chatbots. I have seen many emotions datasets, but they are mostly derived from public tweets or reddit feeds, which may not accurately represent queries that user ask to a chatbot.