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

Adding Resource Templates

Resources include static voice files, TTS voice files, and SMS messages. Before orchestrating flows, you need to add the involved resources, including voice and SMS templates, to the system.

Context

Table 1 Description of the resources that can be added

Template Type

Description

Configuration Prerequisites

TTS

When Reply Way of the Robot Reply diagram element is set to TTS, the resource is configured for playing the configured 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 Reply Way of the Robot Reply 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 Reply Way of the Robot Reply 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 Reply Way of the Robot Reply 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 Reply Way of the Robot Reply diagram element is set to Multimedia, the resource is configured for directly using the multimedia content on the server.

You can select a rich text, image, location, or other templates only after it has been configured under Configuration Center > Resource Management > Multimedia Library in the AICC.

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

Procedure

  1. Choose Configuration Center > Chatbot Management > Flow Configuration.
  2. Choose Resource > Resource Template. Click New.
  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 is selected from a selection box. You need to choose Configuration Center > Resource Management > Audio and Video, add a TTS text, and submit the text for approval. After the system administrator approves the text, you can select the text from the selection box. Only IVR voice files in the current language are displayed in the selection box.

    Figure 1 Resource template configuration page (integration environment)

    Figure 2 Selecting the template content

    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.

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.