import * as openai from "https://deno.land/x/openai@v4.66.1/resources/moderations.ts";
Interfaces
A list of the categories, and whether they are flagged or not. | |
A list of the categories along with the input type(s) that the score applies to. | |
A list of the categories along with their scores as predicted by model. | |
Represents if a given text input is potentially harmful. | |
An object describing an image to classify. | |
Contains either an image URL or a data URL for a base64 encoded image. | |
An object describing text to classify. |
Type Aliases
An object describing an image to classify. | |