Linking with intent classifier
    • PDF

    Linking with intent classifier

    • PDF

    Article Summary

    Available in Classic and VPC

    You can send the user's utterances entered in the chatbot to the outside and receive intent classification results to use in conversation analysis. The chatbot seeks the answer of the conversation in the following order.

    1. Complete match result of general questions
    2. Intent match
    3. Regular expression match
    4. Determine the model's similarity

    The following describes how to set up linkage between the intent classifier and the chatbot.

    1. From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain menus, in that order.
    2. Click the [Run builder] button of the domain you want to run the chatbot builder.
    3. From the chatbot builder, click Chatbot settings > Link service tab.
    4. Click the [Link] button of the intent classifier.
    5. Enter the API Gateway URL of the intent classifier to be linked.
      • External intent classification solutions can be linked.
      • Enter API Gateway of other CLOVA Chatbot domain to link
    6. Click the [Link] button.

    The request to be sent from the chatbot to the linked intent classifier when there is no complete match result for a general question

    {
      "domainCode": "String",
      "userId": "String",
      "userkey": "String",
      "query": "String",
      "platform": "String",
      "previousData": [
        {
          "answer": [
            "String"
          ],
          "query": "String"
        }
      ],
      "sensitive": "Boolean"
    }
    
    ValueTypeRequiredDescription
    domainCodeStringYDomain code that called the current classifier
    userIdStringYUser ID
    userKeyStringYValue of the user's unique key used within the engine
    queryStringYUser's current utterance
    platformStringYInformation of the platform being used by the user (custom, LINE, CLOVA, etc.)
    previousDataArray[Object]NPrevious utterance information. It may not exist in the absence of previous utterances
    previousData.answerArray[String]YInformation with only the chats of answers (ChatContent) extracted
    previousData.queryStringYUser utterance at the time
    sensitiveBooleanNValue used within the chatbot Default: truel

    Information to be provided as a response from the linked intent classifier

    {
      "conversation": {
        "scenarioName": "String"
      }
    }
    
    ValueTypeRequiredDescription
    conversationObjectYInformation of an analyzed conversation
    conversation.scenarioNameStringYScenario (intent) name of an analyzed conversation

    Intent utilization when registering questions

    Set the question type as Intent when registering questions of a conversation, and enter the intent name to be sent from the intent classifier. If another domain of CLOVA Chatbot has been linked, then enter the name of the conversation analyzed in the linked domain as the intent.

    chatbot-chatbot-6-7_01_en


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.