Toxic content analysis result for one string. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide

interface ToxicContent {
    Name?: ToxicContentType;
    Score?: number;
}

Properties

Properties

The name of the toxic content type.

Score?: number

Model confidence in the detected content type. Value range is zero to one, where one is highest confidence.