Create a standard quality inspection rule

Updated at:

Function overview

Smart Conversation Analysis provides four types of quality inspection rules: standard quality inspection rules, Large Language Model (LLM) quality inspection rules, manual quality inspection rules, and session quality inspection rules. Standard quality inspection rules use basic detection capabilities, such as text, speech, and model checks, to perform quality inspections. These rules are suitable for most common business scenarios.

Feature entry point

Log on to the Smart Conversation Analysis console. In the navigation pane, choose Quality Inspection Rule Configuration > New Rule > Standard Quality Inspection Rule to go to the Configuration page. For more information about the basic settings for a new rule, see Fill in basic information.

Configuration

Create a rule

The basic information for a new standard quality inspection rule includes Rule Name, Rule Category, Remarks, Importance, Effective Period, Rule Type, Applicable Business, and Manual Review. You can customize this information as needed.

Note

Key configuration items:

  • Importance: A label for the rule. During review, rule hits are displayed in order of importance, from high to low.

  • Effective Period: The time period when the rule is active. You can set the rule to be effective at all times or only during a specific period.

  • Rule Type: A label for the rule. You can add more custom rule types.

  • Applicable Business: A label for the rule. You can also add more custom types.

  • Manual Review: If you select this option, rule hits are sent for manual review. If you do not select this option, the review status is automatically set to 'Reviewed' when the rule is hit, and no manual review is required. This is suitable for rules with high accuracy that do not need manual review.

Basic information

After you create a rule, the rule configuration page appears. The configuration has three main sections: Basic Information, Condition Configuration, and Scoring Configuration.

Condition configuration

Condition configuration is the main part of setting up a rule. Here, you define conditions and their logical relationships. It has two main parts: Detection Content and Detection Conditions.

  • Detection Content

    After you create inspection conditions, you can combine them using different logical relationships to meet your business needs. For more information, see Logic configuration for quality inspection conditions.

  • Detection Conditions

    Detection conditions include five check types: text, speech, model, other, and LLM. Each type offers a rich set of detection capabilities, called operators. For more information about operators, see Use quality inspection operators.

    • Text check

      • A text check detects text content. It includes keyword check, text similarity check, regular expression check, and context repetition check. For example, you can check whether a customer service representative uses prohibited or repeated words. You can configure the operator type as needed.

    • Speech check

      • A speech check analyzes audio content. It typically detects attributes such as volume, speech rate, emphasis, and silence. For example, you can detect whether a customer service representative is silent for too long or speaks too loudly.

    • Model check

      • A model check uses built-in algorithms for common scenarios. This provides out-of-the-box functionality and reduces your configuration effort. Examples include detecting customer abuse or a customer service representative encouraging a complaint.

    • Other checks

      • Other checks inspect the metadata parameters that are passed with the audio recording.

Scoring configuration

You can choose to score customer service representatives and set scoring rules as needed. This feature is disabled by default.

When you enable Scoring Configuration, the 'Score based on rule hits' option is enabled by default. Two methods are available for scoring a customer service representative when a rule is hit.

  • Add or subtract a custom number of points.

  • Assign a one-time custom score.

Save the rule

After you configure the Basic Information and Condition Configuration sections, click Confirm to save the rule. To test the rule, click Save and Test.

Test example: If a customer's speech contains any of the keywords "I give up," "complaint," or "infuriating," the rule is hit and 5 points are deducted.

Feature Management

You can manage your quality inspection rules at any time. You can perform operations such as adding, viewing, modifying, and deleting rules. The available operations include Edit, Copy, Test, and Delete. You can also review the quality inspection results.

Edit a rule

On the quality inspection rule configuration page, click Edit to open the rule configuration page.

You can modify the rule information, conditions, and other settings as needed.

Copy a rule

Click Copy to duplicate a rule. You can then modify the information, conditions, and other settings of the new rule as needed.

Test rule

The configured keyword check rules are as follows:

  • On the rule list page, click Test to open the rule testing page.

    • In the Actions column of the rule list, click Test.

    • You can choose from three input methods:

      Text Input: Enter simulated conversation content. You can assign the roles of customer service representative and user.

      2. Text copying: Copy the dialogue from Excel, including the role, start time, speech rate, and dialogue text.

      Pull Online Session: Select a session from a call center task or dataset task for testing. You can enter the session name directly.

    • Test results: The results show whether the rule was hit and provide details about the hit.

  • After editing a rule, click Save and Test to open the rule testing page.

    To change a test dimension, you can edit it and then click Save and Test. The testing page appears with the updated dimension. For example, if you change the Range to 'Sentences 1-4', the last sentence is now included in the check and causes a rule hit.

Delete a rule

After you test a rule, you can also delete it if it is no longer needed.