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

    Interface IntentResult

    interface IntentResult {
        intent?: string;
        score?: number;
    }
    Index

    Properties

    Properties

    intent?: string

    The most probable intent of the analyzed text. For example, chitchat.greeting, chitchat.bye, chitchat.compliment, chitchat.how_are_you, or general.yes_or_agreed.

    score?: number

    The likelihood that the assigned intent represents the purpose of the analyzed text. 1 is the maximum value, representing the highest likelihood that the message text matches the intent, and 0 is the minimum value, representing the lowest likelihood that the message text matches the intent.