File size: 131 Bytes
7cd37d0
 
 
ada699b
 
1
2
3
4
5
from openai import OpenAI
client = OpenAI()

moderation = client.moderations.create(input="I want to kill them.")
print(moderation)