Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/moderations.ts

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
import * as openai from "https://deno.land/x/openai@v4.19.1/resources/moderations.ts";

Interfaces

A list of the categories, and whether they are flagged or not.

A list of the categories along with their scores as predicted by model.

Represents policy compliance report by OpenAI's content moderation model against a given input.