Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Avatar Reply

Updated on 2025-01-23 GMT+08:00

This diagram element is used to configure virtual humans who respond to customers in intelligent video customer service. It can be used to play virtual human videos to customers in flows.

Diagram Element

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Operation: The options are Initiate, TTS, and Call Ending.
    Figure 1 Setting Operation for the Avatar Reply diagram element
    • Initiate: A session with the virtual human service is initiated. You need to specify the virtual human to be used.
    • TTS: The configured text is provided for the virtual human service for video synthesis and playback. Variables can be added to the reply text, and the virtual human service dynamically plays a voice based on the return values of the variables.
    • Call Ending: The session with the virtual human service is ended.
  • Avatar Image: This parameter is displayed when Operation is set to Initiate. Select a virtual human configured on the Configuration Center > Chatbot Management > Flow Configuration > Resource > Virtual Human page.
    Figure 2 Selecting a virtual human
  • Reply Variable: This parameter is displayed when Operation is set to TTS. Enter the text variable to be used by the virtual human to reply.
    Figure 3 Selecting TTS
    1. Reply Template: This parameter is displayed when Operation is set to TTS. Select a template whose Type is TTS under Configuration Center > Chatbot Management > Flow Configuration > Resource > Resource Template.
    2. Reply Variable: This parameter is displayed when Operation is set to TTS. Set Reply Variable to a variable of the Character type.
    3. Reply Resource: This parameter is displayed when Operation is set to TTS. Select a text resource whose Status is Approved under Configuration Center > Resource Management > Audio and Video.
  • Reply Mode: This parameter is mandatory. The options are as follows:
    • Playback only: Only the voice or video is played, and customer input does not need to be received. Generally, this option is selected for static voice playback.
    • Interruption recognition: The customer needs to answer by voice. Generally, this option is selected for replying to text.
    • Interruption by key presses: The keys pressed by the customer need to be obtained. If Reply Mode of the Robot Reply diagram element is set to Interruption by key presses and the key interaction result needs to be obtained, the Robot Reply diagram element cannot be directly connected to the Call Ending diagram element, and the Key Recognition and Semantic Recognition diagram elements cannot be directly connected before the Call Ending diagram element.
    • Recognition and key presses: Both voice and key information can be received. The information received first is used for matching.
    • Recognition after playback: The system starts to identify the voice or video only after the voice or video is played. If a customer speaks during the playback, the system does not receive the voice.
    • Recognition and key presses after playback: The system starts to identify the voice or video and collect digits only after the voice or video is played. If a customer speaks or presses a key during the playback, no information can be received. If a customer speaks or presses a key after the playback, the information that is received first is used for matching.
    • No interruption after digit collection: Keys can be pressed when the voice or video is played, but the playback is not interrupted.
    • Custom Variable Value: whether voice playback can be interrupted. If voice playback can be interrupted, set Minimum Voice Playing Duration.

      String true -- Voice playback can be interrupted during recognition, and the minimum voice playback duration can be passed.

      String false -- Recognition is performed after voice playback.

  • Timeout Interval: timeout period, in seconds. If this parameter is not set, the default value 15 is used. If the duration exceeds the value of this parameter, the system determines that timeout occurs. The value range of this parameter varies with vendors. Currently, the maximum value is 180.
    • If Reply Mode is set to Recognition after playback, the duration starts from the time when the TTS voice playback ends to the time when the recognition stops.
    • If Reply Mode is set to Interruption by key presses or Interruption recognition, the duration starts from the time when the voice playback ends. For example, if a customer does not speak after the TTS voice playback ends, the robot goes to the next diagram element when the timeout period ends.
    • If Reply Mode is set to Playback only, the timeout period does not take effect.
    NOTE:

    Pay attention to the setting of the timeout period in the following scenarios: long TTS voice playback, many keys (such as an ID card) to be pressed by a customer, and many opinions to be said by a customer. When Reply Mode is set to Interruption by key presses or Interruption recognition, if the timeout period is short, the recognition may start before the voice playback ends, or the recognition may end before the customer completes key pressing. If the timeout period is long, there may be a long-time silence after the customer completes key pressing, and a timeout notification is displayed after a long time.

    Robot Message Reply Timeout Processing

    • waitFlag: session identifier. If the value of timeout is less than the remaining timeout period of the current session, the value of waitFlag is true. Otherwise, the value is false.
    • waitTimeout: message timeout period.
    • waitBeginTime: When the value of waitFlag is true, the value of waitBeginTime is set to the current time.
    • When the value of waitFlag is true, reply timeout is processed. When the value of waitFlag is false, the original message processing logic is used.
    • Processing logic: After a message times out, the CC-Messaging triggers the timeout flow and pushes the robot response to the customer.
  • ASR Advanced Settings: The options are Enable and Disable. The default value is Disable.
    • Recognition Type: The option is Common. The default value is Common. This parameter is configurable when ASR Advanced Settings is set to Enable.
    • Subscriber Silence Timeout Interval: The default value is 100, in seconds. The value ranges from 0 to 32000. This parameter is configurable when ASR Advanced Settings is set to Enable.
    • Recognition Timeout Interval: The default value is 200, in seconds. The value ranges from 0 to 600. This parameter is configurable when ASR Advanced Settings is set to Enable.
    • Subscriber Pause Timeout Interval: The default value is 500, in milliseconds. The value ranges from 300 to 2000. This parameter is configurable when ASR Advanced Settings is set to Enable.
    • ASR Extended Parameter: Enter the data required by the ASR business on the IVR side, for example, the vendor information. The value is returned to the IVR system using the vendor parameter of the dialog interface.
  • TTS Advanced Settings: The options are Enable and Disable. The default value is Disable.
    Figure 4 TTS Advanced Settings
    • Speaker: Enter the speaker to be used by the virtual human. This parameter is available when TTS Advanced Settings is enabled.
    • Voice Speed: Enter a value ranging from 0.5 to 1.5. Only one decimal place is supported. 1.0 indicates the normal voice speed. 0.5 indicates the slowest voice speed, and 1.5 indicates the fastest voice speed. This parameter is available when TTS Advanced Settings is enabled.
  • Composite Video Configuration: Enable or disable this function. By default, this function is disabled.
    Figure 5 Composite Video Configuration
  • Actions: Enter the action to be used by the virtual human. This parameter is available when Composite Video Configuration is enabled.
  • Picture and Video Settings: Configure Front Image, Backend Image, Front Video, and Backend Video.
    Figure 6 Picture and Video Settings
    • Front Image: Select the foreground image used during virtual human video synthesis. A maximum of five foreground images can be configured for a diagram element.
      • Image: Select a 2D virtual human image configured on the Configuration Center > Resource Management > Audio and Video page.
      • Abscissa: Enter the horizontal coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Ordinate: Enter the vertical coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Scale: Enter the zoom ratio of the image to be displayed. Only one decimal place is supported. The value ranges from 0.5 to 1.0.
      • Start Time (ms): Enter the time when the image starts to be displayed. The value is an integer greater than 0, in milliseconds. This parameter can be left blank.
      • Display Duration (ms): Enter the duration for displaying the image. The value is an integer greater than 0, in milliseconds. This parameter can be left blank.
    • Backend Image: Select the background image used during virtual human video synthesis. A maximum of five background images can be configured for a diagram element.
      • Image: Select a 2D virtual human image configured on the Configuration Center > Resource Management > Audio and Video page.
      • Abscissa: Enter the horizontal coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Ordinate: Enter the vertical coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Scale: Enter the zoom ratio of the image to be displayed. Only one decimal place is supported. The value ranges from 0.5 to 1.0.
      • Start Time (ms): Enter the time when the image starts to be displayed. The value is an integer greater than 0, in milliseconds. This parameter can be left blank.
      • Display Duration (ms): Enter the duration for displaying the image. The value is an integer greater than 0, in milliseconds. This parameter can be left blank.
    • Front Video: Select the foreground video used during virtual human video synthesis. Only one foreground video can be configured for a diagram element.
      • Video: Select a 2D virtual human video configured on the Configuration Center > Resource Management > Audio and Video page.
      • Abscissa: Enter the horizontal coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Ordinate: Enter the vertical coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Scale: Enter the zoom ratio of the video to be displayed. Only one decimal place is supported. The value ranges from 0.5 to 1.0.
      • Start Time (ms): Enter the time when the video starts to be displayed. The value is an integer greater than 0, in milliseconds. This parameter can be left blank.
    • Backend Video: Select the background video used during virtual human video synthesis. Only one background video can be configured for a diagram element.
      • Video: Select a 2D virtual human video configured on the Configuration Center > Resource Management > Audio and Video page.
      • Abscissa: Enter the horizontal coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Ordinate: Enter the vertical coordinate for image display. The value is an integer greater than 0. The default value is 0.
      • Scale: Enter the zoom ratio of the video to be displayed. Only one decimal place is supported. The value ranges from 0.5 to 1.0.
      • Start Time (ms): Enter the time when the video starts to be displayed. The value is an integer greater than 0, in milliseconds. This parameter can be left blank.

Condition Branch Description

Table 1 Condition branch description

Condition Branch

Description

Usage

SYSERROR_INNER

ODFS internal error

Triggered when an unknown error occurs in the ODFS.

Using the Diagram Element

  • Click the diagram element or drag it to the canvas. Before configuring virtual human reply parameters, you need to maintain virtual humans in advance. Then, you can select one of them in the Service Parameter area.

Typical Application Scenario

The following describes how to use the Avatar Reply diagram element to play a welcome tone to customers.

  1. Sign in to the AICC and choose Configuration Center > Chatbot Management > Flow Configuration.
  2. Configure an intelligent IVR flow.

    1. Choose Flow > Orchestration and click New to add a simple flow.
    2. Click + in the Flow Variable area. In the dialog box that is displayed, set the variable name and data type. The default value of the variable will be played to the customer.
      Figure 7 Adding a flow variable
      Figure 8 Flow orchestration example

    3. Save and publish the flow.

  3. Choose Intelligent Chatbot and bind the flow to a robot.
  4. Choose Intelligent Chatbot. In the last column corresponding to the robot, click Test Call. In the test dialog box that is displayed, click Start Call to test the robot. If the robot automatically answers the video path generated by the virtual human service, the configuration is successful.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback