- Print
- PDF
Managing domain groups
- Print
- PDF
Available in Classic and VPC
Domain group is a feature for grouping two chatbot domains or more and finding the answer of the most appropriate domain to respond to the user's question. For instance, is there is a company that offers three different services, it is recommended to configure each service as a separate domain, and then combine them into a domain group, rather than providing all three services in a single domain. You can group and manage multiple domains from the Domain group menu.
If a subdomain had changes to its beta or service version, then it's necessary to build and redeploy the domain group.
Create domain group
The following shows how to create a domain group.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- The Domain group menu can only be accessed by the domain admin.
- Click the [Create domain group] button.
- Enter information when the domain group creation window appears.
- Domain group name: Specify the name of the domain group. Up to 100 characters can be entered
- Group code: Enter a unique value that is not duplicated. Entering in the namespace format (com.ncloud.chatbot.support) is recommended
- Natural language processing: Currently only supported for Korean
- Click the [Create domain group] button.
Subdomain settings
The following shows how to set a subdomain of a domain group.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- Click the [Set domain group] button of a domain created.
- Go to the detailed items settings page of the domain group.
- Click the [Add subdomain] button from the [Subdomain list] tab.
- When the list of created domains appears, select the domain to add a subdomain, and click the [Add domain] button.
- Note that the domains with the Knowledge database service activated can't be set as subdomains of a domain group.
- Different characteristics of the added subdomains allow the user's questions to be better classified in a domain group. Thus, it is recommended that you register at least 5 unique questions, which are not duplicated with questions in other subdomains, in each subdomain.
Build domain group
Domain groups require to be built and deployed. The following shows how to build a domain group.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- Click the [Set domain group] button of the domain group to build.
- Click the [Model build] > [Conversation model build] button at the upper right side.
- When a build is requested, the information of linked subdomains are collected to proceed with the learning for classification.
- When the domain group build confirmation window appears, click the [OK] button.
- You can check the version information of the subdomain set at the build point by clicking on the [Build history] tab.
If a subdomain was built before October 18, 2019, the domain group build may fail since the main components related to the domain group were not included in the build then.
Domain groups operate independently of the linked subdomains. A domain group learns to which domain the user's question will be sent based on the beta version of the subdomain set at the time of building models. Thus, the build version of the subdomain set at the time of building models must be managed with importance.
Test domain group
You can test the domain group when it is built. In addition to viewing the domain information for which questions have been responded, you can check the conversation name, conversation type, entities, keywords, and analysis results of regular expressions.
Note that the quality of answers may deteriorate if the build version of the subdomain changes after the domain group is built.
The following shows how to test a domain group.
- From the NAVER Cloud Platform console, click Services > CLOVA Chatbot > Domain group.
- Click the [Set domain group] button of the domain group.
- Click the [Test] tab.
- Conduct a beta version test.
Deploy domain group
Once the test is completed, it needs to be reflected to the service by clicking the Deploy service button.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- Click the [Set domain group] button of the domain group to deploy.
- Click the [Model build] > [Conversation model build] button at the top of the page.
- Click the [OK] button from the Build domain group window.
- Click the [Deploy service] button to apply the deployed domain group to the actual service.
The subdomain's beta ID and service ID must be set in identical versions. Note that the quality of answers may deteriorate if the service version of the subdomain changes after service deployment of the domain group is completed.
Add fixed menu in domain group
Fixed menu refers to the menu to be fixed to the chatbot page's bottom area. Adding a specific conversation scenario or external URL to the fixed menu on the bottom of the chatbot allows answers to frequently asked questions by users to be provided first.
The following describes how to register the fixed menu.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- Click the [Set domain group] button of the domain group to deploy.
- Click the [Fixed menu] tab at the top of the page.
- Click Create fixed menu.
- Specify fixed menu information.
Item | Description |
---|---|
Fixed menu name | Enter the name of the fixed menu |
Menu button composition | Select the composition of the menu buttons. - Image: Set the fixed menu composition with images. Up to 6 image menus can be added. - Text: Set the fixed menu composition with text. Up to 4 text menus can be added. |
Image menu layout | Select the image menu's layout. The menu is only enabled when Image is selected as the menu button composition. |
Menu settings | - If the menu buttons are composed in images, then add the image files to be used as buttons, and enter conversations or URLs to be connected when the images are clicked. (The recommended image size is 400 px in width and 405 px in height) - If the menu buttons are composed of text, enter the button text, and the conversations or URLs to be connected when the buttons are clicked |
- When all configuration of the fixed menu is completed, click the [Save] button.
- To link the registered fixed menu to a platform, click the [Platform linkage settings] button at the top right.
- Click the [Link] button of the messenger you want to set up the fixed menu.
- As you set up the messenger linkage, enable the fixed menu in the "Step 4. Link fixed menu" area.
- Select the fixed menu to link, and click the [Select] button.
Link domain group with messenger
After creating a domain group, it should be linked with actual channels that will provide the service. The linkage with the API Gateway of NAVER Cloud Platform is required as a certain amount of usage must be provided for each domain and the service should be provided securely to external users.
- Create an invoke URL of API Gateway by referring to API Gateway basic linkage.
- An invoke URL refers to the point of contact for linking with external channels.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- Click the [Set domain group] button of the domain group to build.
- Click the [Link messenger] tab at the top of the page.
- Messenger channel: Can process utterances from various paths such as LINE and TalkTalk and link with messenger platforms. The messenger platforms that can be linked currently are LINE, TalkTalk, Facebook, and NAVER WORKS
- Custom channel: Feature that expands and provides the REST API-based endpoint to facilitate easy linkage on web-based pages and mobile applications rather than messenger channels
You can directly link the channels to be provided on the individual chatbot domains instead of a domain group. If there are channels linked to each subdomain, then they are linked and operated independently of the domain group. For example, Domain A and Domain B can be linked to LINE and TalkTalk messengers respectively, and Domain A and Domain B can be set as the subdomains of a domain group and linked with NAVER WORKS.
Link domain group with service
You can link the chatbot with the knowledge database provided by NAVER. If the chatbot is unable to find an appropriate answer to the user's question, then the results of a search made through Knowledge database can be used for response, rather than a failure message.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- Click the [Set domain group] button of the domain group to build.
- Click the [Link service] tab at the top of the page.
- Enable Knowledge database, and then click the [Link] button.
- When the Link service window appears, compose the search failure and search error messages, and then click the [Link] button.
You can set up linkage with Knowledge database directly from individual domains. The domains linked with the Knowledge database service can't be added to a domain group. Thus, the Knowledge database linkage should be removed from the domains you want to add to a domain group. In addition, if the Knowledge database action method is already registered in the answers, it is recommended to delete the action method.
Manage image in domain group
You can manage images used in the domain group's fixed menu in the domain group's Manage image menu. The following describes how to upload to or delete images in a domain group.
- From the NAVER Cloud Platform console, click the Services > CLOVA Chatbot > Domain group menus, in that order.
- Click the [Set domain group] button of the domain group to build.
- Click the [Manage image] tab at the top of the page.
- Click the [Upload] button to upload the images you want.
- Registered images can be used when registering fixed menu in the domain group.
- To delete an image, select the image you want to delete by marking the checkbox, and then click the [Delete] button.
- Images that are being used by Fixed menu can't be deleted