Intent classifier integrations

Prev Next

Available in Classic and VPC

User utterances entered into the chatbot can be transmitted externally to receive intent classification results, which can then be used for conversation analysis. The chatbot finds responses to conversations in the following order:

  1. Exact match results for general questions
  2. Intent matching
  3. Regular expression pattern matching
  4. Determine model similarity

Integrating with the intent classifier

To integrate an intent classifier with a chatbot:

  1. In the NAVER Cloud Platform console, navigate to i_menu > Services > AI Services > CLOVA Chatbot > Domain.
  2. Click [Run builder] of the domain you want to run the Chatbot Builder.
  3. In the Chatbot Builder, click Chatbot Setting > [Service Integration] tab.
  4. Click [Integrate] on the intent classifier.
  5. Enter the API Gateway URL for the intent classifier to integrate.
    • You can integrate with external intent classification solutions.
    • You can integrate by entering the API Gateway of other CLOVA Chatbot domains.
  6. Click [Integrate].

If no exact match results exist for a general question, the request to be forwarded to the integrated intent classifier.

{
  "domainCode": "String",
  "userId": "String",
  "userkey": "String",
  "query": "String",
  "platform": "String",
  "previousData": [
    {
      "answer": [
        "String"
      ],
      "query": "String"
    }
  ],
  "sensitive": "Boolean"
}
Value Type Required Description
domainCode String Y The domain code that called the current classifier
userId String Y User ID
userKey String Y User-specific key used within the engine
query String Y The user's current utterance
platform String Y Information about the platform the user is currently using (custom, line, clova, etc.)
previousData Array[Object] N Information on the previous utterance. It may not exist if there is no previous utterance.
previousData.answer Array[String] Y Information extracted solely from the "chat" of the response (ChatContent).
previousData.query String Y The user utterance at that time.
sensitive Boolean N The value used within the chatbot. Default value: truel

Information to be responded to in the integrated intent classifier

{
  "conversation": {
    "scenarioName": "String"
  }
}
Value Type Required Description
conversation Object Y Information of the analyzed conversation.
conversation.scenarioName String Y Name of the analyzed conversation quickstart (intent).

Use intents when registering a question

When registering a question for the conversation, set the question type to "intent" and enter the intent name to be transferred to the intent classifier. If you have integrated other domains to CLOVA Chatbot, enter the name of the analyzed conversation from the integrated domain as the intent.

chatbot-chatbot-6-7_01_ko