Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.52.0/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.