It's supposed to be a language model, not a morally perfect God. There's so many things wrong with chatGPT right now, it's very imperfect, but it's refusal to justify racial slurs is one of the least of it's