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:
- Exact match results for general questions
- Intent matching
- Regular expression pattern matching
- Determine model similarity
Integrating with the intent classifier
To integrate an intent classifier with a chatbot:
- In the NAVER Cloud Platform console, navigate to
> Services > AI Services > CLOVA Chatbot > Domain. - Click [Run builder] of the domain you want to run the Chatbot Builder.
- In the Chatbot Builder, click Chatbot Setting > [Service Integration] tab.
- Click [Integrate] on the intent classifier.
- 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.
- 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.
