Updated on 2023-10-12 GMT+08:00

Adding Resource Templates

Context

Table 1 Description of the resources that can be added

Template Type

Description

Configuration Prerequisites

TTS

When Response Type of the Response diagram element is set to TTS, the resource is configured for playing the set text information using the TTS.

If the text contains parameters, ensure that the parameters to be used have values in the current step.

For example, when a slot of a certain intention is used as a variable, the related value must be obtained before the step.

SMS

When the SMS Sending diagram element is used, you need to select a content template for sending SMS messages.

If the text contains parameters, ensure that the parameters to be used have values in the current step.

For example, when a slot of a certain intention is used as a variable, the related value must be obtained before the step.

Static voice

When Response Type of the Response diagram element is set to Static voice, the resource is configured for directly using the voice file on the server. The configuration here is for reference only.

Parameter variables cannot be configured. You need to upload the voice file with the same name of the template to the UAP file server first.

Video file

When Response Type of the Response diagram element is set to Video, the resource is configured for directly using the video file on the server. The configuration here is for reference only.

Parameter variables cannot be configured. You need to upload the video file with the same name of the template to the UAP file server first.

Card template

When Resource Type of the Response diagram element is set to Card, the resource is configured for directly using the card on the server.

You can select a card template only after it has been configured under Configuration Center > Resource Management > Multimedia Library in the AICC.

Multimedia

When Resource Type of the Response diagram element is set to Multimedia, the resource is configured for directly using the multimedia content on the server.

You can select rich texts, images, locations, or other templates only after they have been configured under Configuration Center > Resource Management > Multimedia Library in the AICC.

According to Table 1, you need to add a response template for the Response diagram element. The following describes how to add a response template for determining whether to change the date.

Procedure

  1. Choose Configuration Center > Flow Configuration > Intelligent IVR.
  2. Choose Resource Management > Resource Template. Click Add.
  3. Set Name, set Type to TTS, set Content as follows, and click Confirm.

    In the integration environment, after the template type is set to TTS, the template content is selected from a drop-down list. You need to choose Configuration Center > Resource Management > Audio and Video Resource Management, add a TTS text, and submit the text for approval. After the system administrator approves the text, you can select the text from the drop-down list. The names of IVR voice files that do not comply with the current language are dimmed and unavailable.

    Figure 1 Resource template configuration page (integrated environment)

    The Configure Intention Template switch provides a simple tree-structured intention adding entry for guiding flow configurations in the intelligent agent assistant scenario. This function is not enabled in the current version.

    Enable dynamic settings for flow variables can be set only when Type is set to Static voice or Video file in the integrated environment. For details, see How Do I Configure Dynamic Flow Variables?

Reference

To configure the dialog template for intelligent recommendation, you can obtain required information by querying customers with the intention list in the resource template.