Create a large model quality inspection rule
Overview
Intelligent Conversation Analysis provides four types of quality inspection rules: regular quality inspection rules, large model quality inspection rules, manual quality inspection rules, and conversation quality inspection rules. Among them, the large model quality inspection rule is powered by the Lingque Dialogue Large Model. It provides the quality inspection capabilities needed to upgrade marketing and service products. To create a rule, simply provide a scenario with corresponding detection dimensions and descriptions.
Entry point
In the Intelligent Conversation Analysis console, navigate to Quality Inspection Rule Configuration > New Rule > large model quality inspection rule to open the feature configuration page. For details on the basic information section, see Basic information.
Feature configuration
Create a rule
After you click New Rule, the rule configuration page appears. A new rule is configured in three sections: 1. Basic information, 2. Condition configuration, and 3. Scoring configuration.
Basic information
Basic information includes: Rule name, Rule category, Remarks, Importance, Effective time, Rule type, Applicable business, and manual review. You can customize these settings based on your business requirements.

Key configuration items:
Importance: Acts as a label for the rule. During review, conversations that hit rules are displayed in order from most to least severe.
Rule type: Acts as a label for the rule. You can add more custom rule types as needed.
Applicable business: Acts as a label for the rule. You can also add more custom types as needed.
Manual review: If you select Required, hit rules can be manually reviewed. If you select Not required, the review status for a hit rule is automatically set to "Reviewed". This option is suitable for high-accuracy rules that do not require manual verification.
Condition configuration
Condition configuration is the core part of setting up a quality inspection rule. Configure it based on your business requirements.
Trigger rule
This setting makes another rule a prerequisite. If you select a prerequisite rule, it must be triggered before the large model conditions are evaluated.
Rule configuration mode
You can select either Simple mode or large and small model hybrid mode, depending on your business needs.
Simple mode
In Simple mode, you use only the large model rule. You must specify the detection role, detection scope, model configuration, scenario name, and background knowledge.
NoteLarge and small model hybrid mode (Contact us to be added to the allowlist for this feature)
In large and small model hybrid mode, you can add other rule types, such as keyword check and speech rate check, in addition to the large model rule. When using multiple conditions, you must also specify the condition matching logic.

Condition matching logic
You can select All conditions are met, Any condition is met, Not all conditions are met, or Custom logical relationship. For more information, see Logic configuration for quality inspection conditions.
Detection role
Detects conversation content for the selected role. Options include customer, agent, and all roles.
Detection role
Select the role to detect: Customer, Agent, or All roles.
Sentence and time dimensions: For more information, see Detection scope.
Detection scope type:
The sentence start and end times overlap with the detection scope (Default).
The sentence start time (begin) is within the detection scope.
The sentence end time (end) is within the detection scope.
The sentence start and end times are completely within the detection scope.
Model configuration
Select a model that fits your business scenario.
Lingque Dialogue Large Model-Plus: Fully optimized for quality inspection performance. Suitable for complex scenarios.
Lingque Dialogue Large Model-Turbo: A highly cost-effective model at one-tenth the price of the Plus model.
Lingque Dialogue Large Model-Agent: Uses intelligent routing to automatically select either Lingque Dialogue Large Model-Plus or Lingque Dialogue Large Model-Turbo based on the quality inspection scenario.
Scenario name
A description of the conversation scenario for service quality inspection. For example, a mobile phone sales scenario. The description cannot exceed 100 characters.
Scenario name
A description of the conversation scenario for quality inspection, for example,
mobile phone sales scenario. The description cannot exceed 100 characters.Detection dimension
The list of detection dimensions for service quality inspection. This list includes the name and definition of each dimension. The definition specifies the criteria that the large model uses to determine if a dimension is hit. You can configure a maximum of five detection dimensions.

Detection dimension name: The name of the detection dimension. For example,
In-store greeting - Welcome message. The name cannot exceed 60 characters.Detection dimension description: The definition of the detection dimension. This is a detailed description of the criteria for a hit, including the hit condition and exclusion condition. The description cannot exceed 6000 characters.
Custom variable: You can insert custom variables into the hit and exclusion conditions. These variables are call parameters. When you create a quality inspection task using the API, you can pass the corresponding call parameters. For more information, see Configure custom variables in large model quality inspection rules.

Logical relationship between dimensions
Match any dimension: The quality check rule is matched if any detection dimension is matched.
Match all dimensions: The quality check rule is matched if all detection dimensions are matched.
Save the rule
After you configure Basic Information and Condition Configuration on the rule creation page, click OK to save the rule. To test the rule, you can click Save and Test.

Feature Management
You can manage the configuration of quality inspection rules in the backend at any time, including editing, copying, testing, and deleting rules, and reviewing quality inspection results.
Edit rules
First, on the Quality Inspection Rule Configuration page, click Edit to go to the rule configuration page.
You can modify the configurations of existing quality inspection rules, such as rule information and conditions, based on your requirements.

Replication rules
You can also click Copy to duplicate and modify configuration information, such as rules and conditions, based on your business requirements.


Test rules
First, use the preset detection condition "Automobile Sales_Poor Service Performance Check".
On the rule configuration page, click Test to open the rule test page.
In the Actions column of the rule list, click Test.

Select one of the following three input methods:
1. Text Input: Enter custom simulated conversation content and define the agent and user roles.
2. Copy Text: Copy conversation content from an Excel file. The content must include information such as role, start time, speech rate, and conversation content.
3. Fetch Online Conversation: Select conversations from call center tasks or dataset tasks for testing. Enter the conversation name directly.

Test Results: The results indicate whether a match is found and provide match details.

After editing a rule, click Save and Test to open the rule test page.
If you need to modify a detection dimension, edit it and then click Save and Test. The test page opens, and the detection dimension is updated. For example, if you add a new detection dimension named "Agent admits their mistake", the rule can still find a match.

Delete rules
After you finish testing the rules, you can also delete any unnecessary rules.





