How do you implement content filtering for AI outputs?

Technical