Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface OffensiveAnalysis

    interface OffensiveAnalysis {
        evaluation?: EvaluationEnum;
        message?: string;
        score?: number;
        url?: string;
    }
    Index

    Properties

    evaluation?: EvaluationEnum

    A label, either SAFE or UNSAFE, that classifies the analyzed content.

    message?: string

    Either the message text or the URL of the image that was analyzed.

    score?: number

    The likelihood that the assigned evaluation represents the analyzed message correctly. 1 is the maximum value, representing the highest likelihood that the content of the message matches the evaluation. 0 is the minimum value, representing the lowest likelihood that the content of the message matches the evaluation.

    url?: string