Moderations
interface Moderations
Given an input text, outputs if the model classifies it as violating OpenAI's content policy.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun moderations(request: ModerationRequest, requestOptions: RequestOptions? = null): TextModeration
Classifies if a text violates OpenAI's Content Policy.