Toxicity on social networks and the internet is on the rise. However, used well, artificial intelligence (AI) can be part of the solution to protect online communities and brands’ reputation