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

Properties

categories: Categories

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

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.