from openai import OpenAI client = OpenAI() moderation = client.moderations.create(input="...text to classify goes here...") print(moderation)