ChatGPT will first take the output, read it over then decide if it's offensive or not. You can get it to say jokes about women if you try a few times. Sometimes the men ones get filtered too. ChatGPT gets to decide what's offensive and no