moderations
abstract suspend fun moderations(request: ModerationRequest, requestOptions: RequestOptions? = null): TextModeration
Classifies if a text violates OpenAI's Content Policy.
Parameters
request
moderation request.
requestOptions
request options.