Create session group quality inspection rules
Function overview
Definition
Smart Conversation Analysis offers 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. A session group quality inspection rule inspects multiple sessions between an agent and a customer. This type of inspection is used to analyze related content and context that spans multiple sessions.
Scenarios
Contract processing: A contract can have different sales cycle stages, such as outreach, closing, and follow-up. This process often involves multiple sessions between a sales agent and a customer. You may need to evaluate the agent's performance across the entire sales cycle.
Ticket handling: Resolving a ticket may require multiple communications. You can inspect from the ticket's perspective to determine if the agent effectively served the customer across multiple sessions.
Quality inspection in these scenarios requires combining multiple related sessions. Inspecting only a single session can produce incomplete results. If your business has these inspection needs, you can use session group inspection.
Access the feature
Log on to the Smart Conversation Analysis console and choose Quality Inspection Rule Configuration > Create Rule > Session Group Quality Inspection Rule to open the feature configuration page.


Feature configuration
Trigger rules
Note: Before you can configure the rule, you must first configure the session group inspection settings and set the trigger conditions.
Log on to the Smart Conversation Analysis console and choose System Administration > Session Group Inspection Settings.
Click Enable Session Group Rule Inspection. After you enable this feature, you can set the initial score, inspection start time, and trigger conditions. For more information, see Session group inspection settings.

Create a rule
The basic information for a new session group quality inspection rule includes Rule Name, Rule Category, Remarks, Importance, Effective Period, Rule Type, Applicable Service, and Manual Review. You can configure this information based on your requirements.

The following configuration items require special attention:
Importance: This acts as a tag for the rule. During review, rules that are hit in a session are displayed in descending order of importance.
Rule Type: This acts as a tag for the rule. You can add more custom rule types.
Applicable Service: This acts as a tag for the rule. You can also add more custom types.
Manual Review: If you select this option, rule hits can be manually reviewed. 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. We recommend that you do not select this option for rules that have high hit accuracy and do not require manual review.
Click Create Rule to open the rule configuration page. The configuration for a new session group quality inspection rule consists of two main parts: Basic Information and Condition Configuration.

Basic information
The Basic Information section displays the information you entered when you created the rule. You can click the Edit button to modify this information. Note: The rule category cannot be edited.
Condition configuration
Condition Configuration is the core of the quality inspection rule configuration. In this section, you configure the conditions and the logical relationships between them. It includes two main sections: Inspection Content and Inspection Conditions.

Inspection Content:
You can set inspection conditions or customize the logical relationships between them based on your business needs. For more information, see Configure logic for quality inspection conditions.

Inspection Conditions:
Inspection conditions are divided into four types: text check, speech check, model check, and other check. Each type offers multiple detection capabilities, which are called operators. For more information about operators, see Introduction to quality inspection operators.

Text check
A text check inspects text content. It includes checks such as keyword check, text similarity check, regular expression check, and contextual repetition check. For example, you can check for prohibited or repetitive words used by a customer service agent. You can configure the operator type as needed.
Speech check
A speech check inspects speech content. It is typically used to detect speech characteristics such as volume, speech rate, emphasis, and silence. For example, you can check if a customer service agent was silent for a long time or spoke too loudly during a service session.
Model check
A model check uses pre-built algorithms to provide common detection capabilities. This makes them ready to use out of the box and reduces your configuration costs. Examples include detecting customer abuse or identifying when agents guide customers to file complaints.
Other check
An other check inspects the parameters that are passed with the recording. This allows for quality inspection based on the parameters associated with the recording itself.
Save the rule
After you configure the Basic Information and Condition Configuration sections, click OK to save the rule. You can also click Save and Test to test the rule.

Feature Management
You can manage your quality inspection rules at any time. This includes actions such as testing, copying, editing, and deleting.
Test rule
First, on the Quality Inspection Rule Configuration page, click Edit to modify the rule.

Enter the text to test and click Save and Test to open the test page.
The hit statement for this test case is: add oil and test;. You can view the hit statement in the Test Results column. The hit results are shown in the figure below.
Copy a rule
Click Copy to create a duplicate of an existing rule.
Edit a rule
After you finish testing a rule, you can continue to edit it.
Click the Edit button to open the configuration page for the inspection rule.
You can modify the rule's configuration as needed. The modification steps are the same as the creation steps. For more information, see the rule creation process described above.
Delete a rule
You can delete rules that you no longer need.



