import { Moderations } from "https://deno.land/x/openai@v4.68.2/resources/moderations.ts";
class Moderations
extends APIResource
import { Moderations } from "https://deno.land/x/openai@v4.68.2/resources/moderations.ts";
Methods
create(body: ModerationCreateParams, options?: Core.RequestOptions): Core.APIPromise<ModerationCreateResponse>
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.