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

x/openai/resources/mod.ts>Moderations#create

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method Moderations.prototype.create
import { Moderations } from "https://deno.land/x/openai@v4.21.0/resources/mod.ts";

Classifies if text violates OpenAI's Content Policy

Parameters

optional
options: Core.RequestOptions