- Print
- PDF
Linking with intent classifier
- Print
- PDF
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.
- Complete match result of general questions
- Intent match
- Regular expression match
- Determine the model's similarity
Link intent classifier
The following describes how to set up linkage between the intent classifier and the chatbot.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain menus, in that order.
- Click the [Run builder] button of the domain you want to run the chatbot builder.
- From the chatbot builder, click Chatbot settings > Link service tab.
- Click the [Link] button of the intent classifier.
- 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
- 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"
}
Value | Type | Required | Description |
---|---|---|---|
domainCode | String | Y | Domain code that called the current classifier |
userId | String | Y | User ID |
userKey | String | Y | Value of the user's unique key used within the engine |
query | String | Y | User's current utterance |
platform | String | Y | Information of the platform being used by the user (custom, LINE, CLOVA, etc.) |
previousData | Array[Object] | N | Previous utterance information. It may not exist in the absence of previous utterances |
previousData.answer | Array[String] | Y | Information with only the chats of answers (ChatContent) extracted |
previousData.query | String | Y | User utterance at the time |
sensitive | Boolean | N | Value used within the chatbot Default: truel |
Information to be provided as a response from the linked intent classifier
{
"conversation": {
"scenarioName": "String"
}
}
Value | Type | Required | Description |
---|---|---|---|
conversation | Object | Y | Information of an analyzed conversation |
conversation.scenarioName | String | Y | Scenario (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.