but in the case of ChatGPT, the creators have taught the AI to filter out some hate speech afaik. But still mistakes happen since , the world is vast and there r literally 1000s of cultures around the world.