Interface GooglePerspectiveNodeParameters

Source
interface GooglePerspectiveNodeParameters {
    operation?: "analyzeComment";
    options?: { languages?: string };
    requestedAttributesUi?: {
        requestedAttributesValues: {
            attributeName?:
                | "flirtation"
                | "identity_attack"
                | "insult"
                | "profanity"
                | "severe_toxicity"
                | "sexually_explicit"
                | "threat"
                | "toxicity";
            scoreThreshold?: number;
        }[];
    };
    text?: string;
}

Properties§

§readonly operation?: "analyzeComment"

Default: "analyzeComment"

§readonly options?: { ... }

Default: {}

§readonly requestedAttributesUi?: { ... }

Default: {} Type options: {"multipleValues":true}

§readonly text?: string