Skip to main content
Module

x/openai/resources/mod.ts>ModerationCreateResponse

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ModerationCreateResponse
import { type ModerationCreateResponse } from "https://deno.land/x/openai@v4.21.0/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.