Can you write some pseudo code for this? Showing the correlation between the steps you gave and the code itself.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence