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

Semantic Recognition

Diagram Element

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Context: used to filter intentions to be matched to improve the matching speed.
  • Semantic identification content: content to be matched for semantic identification. The value can be a character string or an existing variable of the current node. If it is left empty, the system directly identifies the customer voice.
  • Event: whether to clear the slot data in the matched intention if the node is not entered for the first time in the flow. Generally, the value is Clear Current Context Cache if you need to allow customers to modify information in the halfway.
    • Clear Session Cache: used to clear the values of all variables in the current flow instance.
    • Clear Current Context Cache: used to clear the variable value of the current intention. Generally, it is used to execute the same semantic recognition for multiple times, and to clear the intention data retained previously.
  • Intention Quantity: number of intentions. This applies to the scenario where multiple intentions can be returned. The value needs to be a positive integer. If this parameter is left blank, the value is the same as that of Max. Intentions(1,5) set on the Configuration Center > Chatbot Management > Semantic Understanding > System Management > Intelligent Engine Parameter > Intention Parameters page by default.
  • Confidence Interval: maximum confidence difference between each intention and the first intention. This applies to the scenario where multiple intentions are returned.
  • Cache Variable and Response Attribute: flow variables and their values. The response parameters or slot parameters of the intention can only be valid on the current node. If you want to use the value in subsequent flow nodes, define a cache variable and assign the value of the response parameter or slot parameter in the intention to the cache variable.
  • Condition and Condition Expression: branches of the exit of the current diagram element. For example, the intention matching success and failure can be configured as two branches. Different subsequent flows can be specified for each branch.

Condition Branch Description

Table 1 Condition branch description

Condition Branch

Description

Usage

timeout1

First timeout

Triggered when a third-party system (for example, the IVR system) determines that a timeout occurs in receiving the customer feedback and sends a message whose input is timeout to the OIAP.

This branch is generally used on the connection line between the Semantic Recognition diagram element and subsequent node, indicating that semantic recognition times out before a response is received from the customer.

timeout2

Second timeout

Triggered when the trigger condition of timeout1 occurs for the second time during a call.

During script flow design, a flow retry is required when the first timeout occurs. If the second timeout occurs, the current step is skipped, and the subsequent steps are performed.

nomatch1

First recognition failure

Triggered in either of the following scenarios:

  • The Semantic Recognition diagram element does not match a result (that is, the diagram element returns the command word indicating an unknown intention).
  • A third-party system (for example, the IVR system) returns a message whose input is nomatch.

    In this scenario, the ASR system fails to recognize the intention and sends a failure response to the IVR system.

nomatch2

Second recognition failure

Triggered when the trigger condition of nomatch1 occurs for the second time during a call.

error3

Third error

Triggered when the trigger condition of timeout1 or nomatch1 occurs for the third time during a call.

If the number of error times does not need to be accumulated, use the Error Count Clearance diagram element to clear the number of error times before using this branch.

SYSERROR_INNER

ODFS internal error

Triggered when an unknown error occurs in the ODFS. If no option is selected, the flow goes to the exception handling flow.

SYSERROR_INTERFACE

Business interface invocation failure

Triggered if an error occurs when the Business Interface Invocation diagram element is used to invoke a third-party interface.

This branch is generally used on the connection line between the Business Interface Invocation diagram element and subsequent node.

slientInsertReply

Direct reply by a silent agent

Used only when the silent agent system is configured for the Semantic Recognition diagram element. After an agent directly replies to a customer, the flow can continue to go to other expected business flows.

Using the Diagram Element

The Semantic Recognition diagram element is used when intention matching needs to be performed for customer voices to identify customer requirements.

Click the diagram element or drag it to the canvas. Before using this diagram element, add an intention or Q&A to TUC management.

Typical Application Scenario

The following describes how to use the Semantic Recognition diagram element to interact with a robot.

  1. Sign in to the AICC and choose Configuration Center > Chatbot Management > Semantic Understanding.
  2. Configure a domain and an intention.

    1. Choose Knowledge Management > Domain Management, click Create in the upper right corner, set Name, and click Save.
      Figure 1 Creating a domain
    1. Click the name of the new domain. The Intention Management page is displayed.
    2. Click Create, choose General intent, enter an intention name, configure Corpus and Response, and click Save.
      Figure 2 Creating an intention
    3. Select the new intention and click Active to activate the new intention.

  3. Configure an intelligent IVR flow. The flow orchestration scenario is as follows: After a customer is connected to the robot, the customer hears that the robot says "Hello". After the customer says "Hello", the robot recognizes the customer voice and says "Hello" again.

    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. You need to add the welcome variable to play the default value (for example, Hello) of the variable to a customer after the customer is connected, and add the default variable to send the default reply (for example, Intention not identified) when semantics are not identified.
      Figure 3 Adding a flow variable
      Figure 4 Flow orchestration example
      • Use the reply variable FLOW.ChatBotRespContent for the Robot Reply diagram element below the Semantic Recognition diagram element to reply "Hello" to the customer after the customer says "Hello".
      • Use the reply variable default for the Robot Reply diagram element on the right of Semantic Recognition diagram element to reply "Intention not identified" when no "Hello" said by the customer is matched.
    3. Save and publish the flow.

  4. Choose Intelligent Chatbot and bind the flow to a robot.
  5. Choose Intelligent Chatbot. In the last column corresponding to the robot, click More and choose Bind Domain to bind an active domain.
  6. 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. Enter "Hello". If the robot replies "Hello", semantic recognition 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