View Source OpenAi.Moderations (OpenAI REST API Client v1.0.1)
Provides API endpoint related to moderations
Summary
Functions
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.
Functions
@spec create_moderation( body :: OpenAi.Moderation.CreateRequest.t(), opts :: keyword() ) :: {:ok, OpenAi.Moderation.CreateResponse.t()} | {:error, OpenAi.Error.error()}
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.