import { Moderations } from "https://deno.land/x/openai@v4.24.3/resources/moderations.ts";
class Moderations
extends APIResource
import { Moderations } from "https://deno.land/x/openai@v4.24.3/resources/moderations.ts";
Methods
create(body: ModerationCreateParams, options?: Core.RequestOptions): Core.APIPromise<ModerationCreateResponse>
Classifies if text violates OpenAI's Content Policy