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

Rule Verification (Expired and Not Recommended)

Diagram Element

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Text Variable: variable whose value has been obtained before this node. For example, if a customer wants to query the bills of a month and the customer says "13", this month can be saved as a flow variable using the Semantic Recognition diagram element. In this case, the variable is extracted for month verification.
  • Rule Expression: expression to verify the type of customer input. For example, if you select month verification, the month format is yyyyMM.
  • Validate mobile number format (with # and *)
    1. * — true branch
    2. # — true branch
    3. 11-digit number ending with a number sign (#) and starting with 135 to 139, 150 to 152, 157 to 159, 147, 182 to 184, 187, 188, or 198 — true branch
    4. 11-digit number ending with a number sign (#) and starting with 1340 to 1348 — true branch
  • Validate mobile number format (without # or *)
    1. 11-digit number starting with 135 to 139, 150 to 152, 157 to 159, 147, 182 to 184, 187, 188, or 198 — true branch
    2. 11-digit number starting with 1340 to 1348 — true branch
  • Validate password format (with # and *)
    1. * — true branch
    2. # — true branch
    3. 6-digit number — true branch
  • Validate password format (with *)
    1. * — true branch
    2. 6-digit number — true branch
  • Validate mobile number (with # and *)
    1. * — true branch
    2. # — true branch
    3. 11-digit number — true branch
  • Validate mobile number (with *)
    1. * — true branch
    2. 11-digit phone number — true branch
  • Validate month input
    1. * — true branch
    2. # — true branch
    3. Valid month in yyyyMM format — true branch
  • Keyboard Input Type: If this parameter is left blank, the month input verification is performed by default (Rule Expression must be set to Validate month input). The entered month must be in yyyyMM format.
    • keyBoard_phone: input from a phone keyboard. Enter this value when the OpenEye or a mobile phone is used.
    • checkoldpassword: input from a password keyboard.
  • Variable: variable for saving customer input.
  • Context: used to filter intentions to be matched to improve the matching speed. When Keyboard Input Type is set to checkoldpassword, this parameter is invalid, because semantic recognition is not performed on the keyboard input.

Using the Diagram Element

This diagram element is used to verify the customer voice or keyboard input based on rules.

Click the diagram element or drag it to the canvas, and set parameters based on the parameter description.

Typical Application Scenario

The following describes how to use the Rule Validation diagram element to verify whether the customer input is a valid month.

  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 1 Add Variable

      In this example, the Business Interface Invocation diagram element does not invoke an interface. Instead, it is used to assign values to parameters.

      Figure 2 Flow orchestration example (Rule Validation diagram element)
      • For the false condition branch of the Robot Reply diagram element, set Reply Variable to FLOW.FalseResponse to reply to the customer with "The month you entered is invalid".
      • For the true condition branch of the Robot Reply diagram element, set Reply Variable to FLOW.TrueResponse to reply to the customer with "The month you entered is valid".
    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 answers that the month is valid or invalid based on the month entered by the customer, the configuration is successful.
    Figure 3 Testing the robot

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