NAME

OpenAI::API::Request::Moderation - moderations endpoint

DESCRIPTION

Given a input text, outputs if the model classifies it as violating OpenAI's content policy.

METHODS

new()

  • input

  • model [optional]

SEE ALSO

OpenAI API Documentation: Moderations