Represents if a given text input is potentially harmful.

interface ModerationCreateResponse {
    id: string;
    model: string;
    results: Moderation[];
}

Properties

Properties

id: string

The unique identifier for the moderation request.

model: string

The model used to generate the moderation results.

results: Moderation[]

A list of moderation objects.