ContentSafetyLabel: {
    confidence: number;
    label: string;
    severity: number;
}

Type declaration

  • confidence: number

    The confidence score for the topic being discussed, from 0 to 1

  • label: string

    The label of the sensitive topic

  • severity: number

    How severely the topic is discussed in the section, from 0 to 1

{
"label": "disasters",
"confidence": 0.8142836093902588,
"severity": 0.4093044400215149
}