Manage agents
This document describes how to create and manage quality inspection agents in Smart Conversation Analysis.
Overview
A Smart Conversation Analysis agent can automatically analyze conversations and identify quality issues.
Access the feature
After you log on to the Smart Conversation Analysis console, click Conversation Analysis Agent or Agent Management.
Features
Create an agent
On the Agent Management page, click Create Agent in the upper-left corner. Enter a name and description for the new agent. The agent configuration page appears, as shown in the following figure:

Name: The name of the agent. This is required.
Description: A description of the agent's purpose and scenarios. This is required.
Configure an agent
Click Confirm to open the agent's configuration page, as shown in the following figure:

Select a model
Select either the Lingque-Plus or Lingque-Turbo model.
Lingque-Plus: Suitable for more complex scenarios.
Lingque-Turbo: Suitable for simple scenarios.
Instruction content
The instruction configuration includes five dimensions: Service quality inspection, Key information, tag categorization, Custom instruction, and Multi-level tag detection. You can select instructions based on your business scenario.
Service quality inspection
This feature detects customer sentiment, sensitive words, and service quality in calls. You can configure inspection scenarios and items as needed.

Scenario Name: Enter a name for the inspection scenario.
Scenario Description: Briefly describe the current business scenario.
Inspection Item: Specifies the inspection items for the current scenario. To configure items, click the Inspection Item Settings button in the upper-right corner.

Name: The name of the inspection item to detect.
Description: A detailed description of the inspection item. This helps improve detection accuracy.
Key information
This feature extracts 3 to 5 key pieces of information from the call.
Key Information: Specifies the key information to extract in the current scenario. To configure this setting, click the Key Information Settings button in the upper-right corner.

Name: Enter the name of the key information to extract.
Description: A detailed description of the key information. This helps improve information extraction accuracy.
Tag categorization
This feature defines categories for call content. Tags cannot be longer than 10 characters.
Tag: Specifies the tag categories to generate in the current scenario. To configure this setting, click the Tag Categorization Settings button in the upper-right corner.

Name: Enter the name of the tag category.
Description: A detailed description of the category. This helps improve the accuracy of tag value collection.
Tag Value: After you enter values, the system matches content against the defined tag values. You can define a maximum of 10 values.
Custom instruction
You can use custom instructions for flexible configurations in the Conversation Analysis Agent. You can define custom roles, scenarios, quality inspections, information extraction tasks, and other features.
Related variables:
${dialogue}: Imports the message content into the instruction.
${custom_variable}: References variables from offline voice and text quality inspection. You can edit and manage these variables in Data Source Management.

Quick Operations: Click a variable to add it to the instruction.
Select Template: The system provides five built-in templates: Title, Summary, Keywords, Q&A, and Problem and Solution. You can select a template as needed when you use custom instructions.

Instruction Optimization: Click the Optimize Instruction button to send the instruction to the model for optimization. After the optimization is complete, click Confirm to apply the changes.

Multi-level tag detection
You can use this feature for multi-level tag categorization in conversation analysis. First, extract and categorize level-1 tags. Then, you can add a step to extract level-2 tags based on the level-1 tags. Before you start, configure a tag tree in Multi-level Tag Management.
Multi-level tag detection flow: By default, the flow has one detection step. You can configure up to five steps to detect a maximum of five levels.
Select tags for analysis: Select the level-1 flow tags to detect.
Prompt: The specific prompt for tag categorization. The prompt includes the ${dialogue} and ${labels} variables. For an example, see Multi-level tag detection prompt examples.
${dialogue}: This parameter represents the message content.
${labels}: This parameter represents the selected tag tree.
Message content
You can upload a text or audio file for the Conversation Analysis Agent to analyze. This feature is for testing purposes only. See the following figure:
Plain text: Accepts unformatted text.
The format is as follows:
Customer: xxx
Agent: xxx
In the upper-right corner, you can select an industry conversation example. Built-in examples are available for government affairs, finance, and retail scenarios.

Audio: Drag and drop a file or click to upload an audio file. The supported formats include WAV, MP3, M4A, and AMR. The file size cannot exceed 200 MB.

Test the results
After you enter the content on the left, click Start Test in the upper-right corner of the page to view the results.

Save the configuration
Click Save Configuration in the upper-right corner to save the current agent's configuration. Note: The message content is not saved with the configuration.
Use the agent
After you complete the configuration, you can select the agent in an Analysis Task. For more information, see Analysis Task.







