import { type ModerationCreateParams } from "https://deno.land/x/openai@v4.69.0/resources/moderations.ts";
Properties
input: string | Array<string> | Array<ModerationMultiModalInput>
Input (or inputs) to classify. Can be a single string, an array of strings, or an array of multi-modal input objects similar to other models.
optional
model: (string & { }) | ModerationModelThe content moderation model you would like to use. Learn more in the moderation guide, and learn about available models here.