interface DetectModerationLabelsResponse {
    ContentTypes?: ContentType[];
    HumanLoopActivationOutput?: HumanLoopActivationOutput;
    ModerationLabels?: ModerationLabel[];
    ModerationModelVersion?: string;
    ProjectVersion?: string;
}

Hierarchy (view full)

Properties

ContentTypes?: ContentType[]

A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.

HumanLoopActivationOutput?: HumanLoopActivationOutput

Shows the results of the human in the loop evaluation.

ModerationLabels?: ModerationLabel[]

Array of detected Moderation labels. For video operations, this includes the time, in milliseconds from the start of the video, they were detected.

ModerationModelVersion?: string

Version number of the base moderation detection model that was used to detect unsafe content.

ProjectVersion?: string

Identifier of the custom adapter that was used during inference. If during inference the adapter was EXPIRED, then the parameter will not be returned, indicating that a base moderation detection project version was used.