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

x/openai/resources/moderations.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.33.1/resources/moderations.ts";

Represents if a given text input is potentially harmful.

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.