How can I implement this rate-limiting in my code? Please provide an example code snippet, together with helpful and descriptive comments.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence