Scripts
To use the intention and script recommendation functions of the intelligent agent assistant, perform the following operations.
- Configure a domain. Choose Configuration Center > Chatbot Management > Semantic Understanding > Knowledge Management > Domain Management and click Create to create a domain.
- Add an intention. Choose Knowledge Management > Intention Management and create intentions and scripts as intentions.
For example, in the intention of a loss report, the script may be "your ID card number" or "your mobile number". Therefore, create three intentions at a time.
- Click Create to create a general intention. On the Basic Info tab page, set Name to the name of a script or intention displayed on the GUI.
- Click the Corpus tab. Corpus indicates the keywords for recognition. Click Create to create a corpus. For example, set the corpus for the loss report to Loss Report.
- Click the Response tab to set an intention command. The intent command must be unique. Click Create to create a response.
- After configuring the Loss Report, Your Mobile Number, and Your ID Card Number intentions, click Train to train the robot.
- Click Create to create a general intention. On the Basic Info tab page, set Name to the name of a script or intention displayed on the GUI.
- Configure a resource template.
- Choose New to add a resource template. Set Type to TTS. Enable Configure Intention Template. and click
- Click Add Top Node and set the configured Loss Report intention to the top node.
- Click Add on the right of the Loss Report intention, set the Your Mobile Number intention to the lower-level node, and save the settings.
- Set the Your ID Card Number intention to the lower-level node in a similar way and save the settings.
- Configure a greeting. Greetings are preconfigured in the baseline flow. To customize greetings, modify GreetingWord in the resource template. For details about how to set other TTS texts to greetings, see Greeting Resource Templates. To match a greeting, create an intention on the Intention Management page. It is recommended that the name and keyword of the intention be the same as those of the greeting. The intention command must be set to GreetingWord.
For details about how to add an intention, see 2.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot