interface Moderation {
    categories: Categories;
    category_applied_input_types: CategoryAppliedInputTypes;
    category_scores: CategoryScores;
    flagged: boolean;
}

Properties

categories: Categories

A list of the categories, and whether they are flagged or not.

category_applied_input_types: CategoryAppliedInputTypes

A list of the categories along with the input type(s) that the score applies to.

category_scores: CategoryScores

A list of the categories along with their scores as predicted by model.

flagged: boolean

Whether any of the below categories are flagged.