Data insight

Updated at:
Copy as MD

Data insight generates data reports from natural-language conversations, which lets operations staff and merchants analyze business data and gain business insights without SQL skills. It works as a continuous loop across three sub-tabs: Data dashboard, Metric definitions, and Data accuracy. You ask a question on the Data dashboard tab to generate a report with data visualization, rate the report by clicking Accurate or Incorrect so that your feedback improves subsequent AI answers, review the AI accuracy rate and the detailed records on the Data accuracy tab, and add or edit rules on the Metric definitions tab so that the AI understands your query intent more accurately before generating the report again.

Billing

Using Data insight consumes Inspiration Credits. For billing details, see Inspiration Credits.

Enable data insight

Before you begin, make sure that business data is available in Content management. Data insight analyzes this data to generate reports.

  1. Log on to the Wanxiaozhi console and go to Application list.

  2. Select your target application and click Enter application.

  3. Click Management. In the left-side navigation pane, click Data insight.

  4. On the Data insight settings page, click Enable ChatBI.

    Data insight settings page with the Enable ChatBI button

After you enable ChatBI, the page contains three sub-tabs: Data dashboard, Metric definitions, and Data accuracy.

Data dashboard

Generate data reports as visualizations from natural-language input. On the Data dashboard tab, you can generate a report, use a quick-query tag, view the SQL statement of a report, and provide feedback on its accuracy.

Generate a report

Data insight offers two ways to generate a report: describe your own data requirement, or use a preset quick-query tag.

Describe your data requirements in the input box and click Generate. Data insight automatically generates a report with data visualization.

Data dashboard tab with the input box and quick-query tags used to generate a report

Preset quick-query tags appear above the input box. Click a tag to quickly generate a common report. This is the recommended path for your first report.

Report list

Generated reports are displayed as cards at the bottom of the page. Each report card contains the following information:

  • Report title: The name of the report.

  • Original query description: The natural-language description entered to generate the report.

  • Chart area: Displays data as a visualization.

    Report card showing the report title, original query description, and chart area

View SQL

On a report card, click View SQL to open the SQL statement that generated the report.

Feedback

At the bottom of each report card, you can provide feedback on the report quality:

  • Click Accurate to mark the report answer as correct.

  • Click Incorrect to mark the report answer as incorrect.

Feedback is used to improve subsequent AI answers. As a best practice, proofread each generated report and provide feedback on its accuracy. To review the effect of your feedback, see Data accuracy.

Metric definitions

Configure term-replacement and information-supplement rules to help the AI understand query intent more accurately when generating reports.

Choose the rule type that matches your situation:

  • Term replacement — A term in your question must be replaced with a different term before the AI processes the question.

  • Information supplement — Your question contains a specific term but does not carry the additional information that the AI needs.

Add rule

Click + Add rule and configure the rule in the dialog box:

  1. Select a Type:

    • Term replacement: Replaces a specific term in a question. For example, replace appointment with booking.

    • Information supplement: Adds information to questions that contain a specific term.

  2. Enter a Trigger word (required): the keyword that triggers the rule.

  3. Enter Replace with (required): the content that replaces the trigger word. This field appears only for the Term replacement type.

  4. Enter a Description (optional): a description of the purpose of the rule.

  5. Click Save to complete the configuration.

After the rule is saved, it appears in the rule list.

Edit or delete a rule

In the Actions column of the rule list, each rule provides Edit and Delete buttons:

  • Click Edit to modify an existing rule.

  • Click Delete to remove a rule that you no longer need.

After you save an edited rule, the updated rule appears in the rule list. To confirm that the change takes effect, generate the report again on the Data dashboard tab and then check the accuracy statistics on the Data accuracy tab.

Data accuracy

View accuracy statistics and detailed records for AI-generated reports to evaluate and improve the answer quality of Data insight. To improve the accuracy rate, add or edit rules on the Metric definitions tab.

Statistics panel

The statistics panel displays the AI accuracy rate for the last 7 days and cumulative data. It includes the following metrics:

  • AI accuracy rate: The proportion of reports marked Accurate in the last 7 days.

  • Proofread: The number of reports for which feedback has been submitted.

  • Total reports generated: The cumulative number of generated reports.

  • Correct reports: The cumulative number of reports marked Accurate.

  • Incorrect reports: The cumulative number of reports marked Incorrect.

Detailed records

The detailed records table displays information about each report, including the report name, data source, generation time, status, and error cause.

The detailed records support the following filters:

  • Filter by status: view all reports, or only the reports marked Accurate or Incorrect.

  • Filter by time range: records from the last 7 days are displayed by default.