Moderations
Learn how to use the moderations endpoint of OpenAI to tag speech with various flags like hate speech, violence, self-harm etc.
The moderations endpoint
Moderations is an endpoint that OpenAI provides to flag text. This API endpoint analyzes the text provided and evaluates whether the content complies with Open AI's usage policies. After the API analyzes the text, it tells the user which flags fit the text and the confidence that the API has for each flag.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy