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

x/openai/resources/mod.ts>ModerationCreateResponse

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

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

Properties

id: string

The unique identifier for the moderation request.

model: string

The model used to generate the moderation results.

results: Array<Moderation>

A list of moderation objects.