The dataset of the intelligent agent serves as the data source for data queries performed by the Intelligent Analysis Agent. The data quality and related configuration of the dataset directly affect the data query results of the intelligent agent. Once you have ensured the data quality of the intelligent agent's dataset through data cleansing and other operations, optimizing the dataset configuration becomes crucial for influencing the data query results. This article introduces recommended approaches for data configuration and practical scenarios.
It is recommended to first clarify the current status of the datasets required by the intelligent agent and the fields within each dataset, including synonyms that may be involved in business query scenarios for each field. Then, configure based on the results of this clarification. The semantic model configuration of the agent consists of two main parts: the semantic configuration for the entire dataset and the semantic configuration for each field within the dataset.
Dataset name | Basic information of the semantic model | Required fields | Field synonyms |
|---|---|---|---|
Contract detail execution summary_CK | Statistics on customer contract execution, including information such as sales organization, sales department, product, and more. | Customer name | Customer, customer company, buyer, user, end user |
Sales organization name | Sales company, subsidiary, marketing company | ||
Marketing department name | Sales department, marketing department, department | ||
Sales region name | Sales region, region | ||
Sales representative name | Salesperson, sales representative, personnel | ||
Material name | Product, product name | ||
Component model | Model, sheet type | ||
PN junction type | Junction type | ||
Technology type | Technology route | ||
Order quantity | Sales volume, order volume | ||
Order amount | Sales amount | ||
Outbound quantity | Delivery quantity, outbound capacity, delivery capacity, outbound power, delivery power | ||
Contract full cycle summary_CK | Sales contract full cycle data | Contract number | Contract code, contract |
Contract name | Contract title, contract name, customer contract | ||
Contract signing time | Contract signature time, contract signing time, contract effective time, effective time | ||
Contract signing company name | Contract signing company, contract signatory company, signatory company | ||
Sales company name | Sales company, contract execution company, contract principal company, contract company | ||
Marketing department | Marketing department, sales department, affiliated department | ||
Marketing department name | Marketing region, sales region, sales area | ||
Sales representative name | Sales representative, salesperson | ||
Ordering customer name | Customer, user, customer company | ||
Final customer name | Final user, end user | ||
Contract total amount_W | Contract sales volume, contract capacity, contract power | ||
Order quantity | Order power, order capacity, order quantity, purchase quantity, purchase power, purchase capacity | ||
Order unit price | Order unit price excluding tax | ||
Order amount | Purchase amount, order amount excluding tax, purchase amount excluding tax | ||
Total order price including tax | Total order price including tax, order price including tax | ||
Outbound quantity | Outbound pieces |
For example: Suppose a user asks a question related to "Doubao large model"—this knowledge applies; similarly, if the user asks a question related to "Doubao small model," this knowledge also applies. It is advised not to use the default recall method for convenience, but to configure two pieces of knowledge: one for "Doubao large model" using rule recall, and another for "Doubao small model" using rule recall.
When using rule recall, business terms are not critical; simply write the beginning of the sentence to which you want to add knowledge. In addition, pay special attention to the "Preview" section, which is the content ultimately transmitted to the large model; ensure its accuracy. In rule recall mode, business terms, conjunctions, and explanations can be arranged as needed—the key is to ensure the accuracy of the preview content.
Based on all question formulations in the question set and the fields in the dataset, determine the most precise rule so that the rule applies only to questions requiring the added knowledge, while avoiding impact on other questions that do not require this knowledge.
Caution: If a piece of knowledge is added solely for calculation using certain fields, it is recommended to add a calculation expression field in the dataset to achieve this, rather than directly adding the knowledge; otherwise, the effectiveness may unexpectedly worsen.
Usually, you can configure the internal terminology, jargon, and metric calculation logic related to the current dataset's business scenario in the knowledge base for this dataset. It is recommended to first organize each field of the current dataset individually. The following is an example.
Internal terminology and jargon
Dataset name | Business term | Synonym | Explanation (term definition) | Related dataset fields |
|---|---|---|---|---|
Contract detail execution summary_CK | How are sales performing | Sales volume | How are sales performing refers to [purchase quantity] and the corresponding [purchase amount] | Order quantity, order amount, outbound quantity |
Technical type | Technical route | Technical type indicates the product's technical type, including PERC, TOPCon, HJT, and other types | ||
xxx shopping omnichannel analysis | Live and recorded broadcast | Program playback type | Playback type; of these, |
Metric calculation logic
Dataset name | Business term | Explanation (term definition) |
|---|---|---|
xxx shopping omnichannel analysis | Cancellation rate | Cancellation amount / purchase amount |
Outbound rate | Outbound amount / purchase amount | |
Delivery completion rate | Delivery completion amount / outbound amount | |
Return rate | Return amount / outbound amount | |
Conversion rate (quantity) | Sales quantity / purchase quantity | |
Conversion rate (amount) | Sales amount / purchase amount | |
Gross profit margin | Sales profit / sales revenue | |
Live broadcast conversion rate | Number of buyers during live broadcast / number of live broadcast viewers | |
Fan retention | Net followers / total followers | |
Average transaction value - video channel | Transaction amount / number of buyers | |
Average unit price | Purchase amount / purchase quantity | |
Number of playbacks | During a period, count the number of times this item appears in each playback time slot; count time slots | |
Live sales quantity / amount / profit (average) | Total profit or amount divided by number of playbacks |