Release date: May 6, 2026
Intelligent construction
Engineers can leverage DataPilot's robust construction capabilities to quickly package high-quality analytical assets and publish them with one click, providing analysts with a standardized, interactive data consumption interface.
Report
Overview
Report is a building type in Intelligent Generation. When creating it, you describe the goal in natural language (for example, generating a quarterly business analysis report based on a specified data table). The system then passes the requirement as a dialog message to the agent for processing. The agent generates the content according to the established process and writes it into the report application. The main text supports HTML and Markdown, which are presented in preview form in the interface.
When creating a report, you can choose to bind it to a report template. After binding, the agent will output the content according to the constraints of that template, making it suitable for scenarios requiring a unified format.
I. Create and access
- On the Agent-related interface, go to the Intelligent Generation (or Data Applications) section, select Report as the building type, and enter the name, description (optional), and requirement description to initiate creation.
- After creation, select the corresponding item in the "My Builds" list to open the report reader in the main workspace.
II. Engineer scenario: Preview and configuration
In the engineer publishing side of the report application, there are typically two tabs: "Preview" and "Configuration":
Tab |
Purpose |
|---|---|
| Preview | Displays the current text. HTML is rendered within the page, while Markdown is displayed as plain text. |
| Configuration | Report settings: You can modify the title, description (displayed in the build list and dialog references), output format (HTML / Markdown), whether to bind a report prototype, and the maximum number of historical reports (controls the number of historical snapshots retained. The valid range is subject to the on-screen prompts). After saving, these settings take effect for the agent's subsequent exports and updates. |
When opening a Report type build in the default publishing-side dialog, the version area often only displays the Current Version description without expanding the full multi-version switching; operations such as Download and Regenerate in Dialog are still available.
III. Analyst scenario (Read-only workspace)
When opening the same report in the Analyst Read-Only interface, the system provides a Personal Version Chain and external sharing capabilities, mainly including:
- View Versions: Through "View Versions", you can switch between the Current Personal Version (the most recently generated result under this username), Historical Versions (existing personal versions with timestamps or tags), and Default Published Draft (the benchmark draft provided by the publisher, distinct from personal forks).
- Regenerate: You can fill in supplementary requirements via the dialog box. After confirmation, they are sent to the session; the new version is written into the user's Personal Version Chain.
- Delete Personal Version: You can delete specified historical personal versions, which cannot be recovered after deletion. If that version had external sharing enabled, the corresponding public access will also become invalid.
- Share Link: See Section 4.
IV. Share a report (Externally read-only)
In the analyst report view, use "Share Link" to open the sharing dialog box and set the scope to act on "Current Selected Version" (including the default published draft or a historical version):
- Enable Public Access: When enabled, a copyable link is generated; when disabled, external access is not allowed.
- Allow Visitors to Download: Controls whether the public page allows downloading the main text.
- Link Password: Optional; the password applicable to this share link.
- Copy Link / Open in New Tab: Used when sharing is enabled and a valid link exists.
- Rotate Link: After generating a new access token, the old link immediately becomes invalid, suitable for scenarios like link leakage.
If the token is invalid, sharing is disabled, or the corresponding version has been deleted, the access party will see the unified prompt "Link is invalid or does not exist".
V. Reference in dialog
After referencing a report build to the current session, you can provide the context of that build to the agent when sending messages, facilitating further inquiries or iteration based on the same report. The reference granularity matches the labels in the interface (such as Historical Snapshot, Default Version, etc.), subject to the actual product interaction.
VI. Usage suggestions
- When creating, clearly define the data source, time range, chapter structure, and output format (HTML or Markdown).
- When a unified format is needed, first maintain the prototype in a report template, then complete the binding when creating the report.
- When distributing a fixed version externally, you must select the target version in the analyst view before configuring the sharing. The sharing should point to a single version; to share different versions, you need to reconfigure the sharing or create a separate share.
- For confidential or sensitive content, it is recommended to disable visitor downloads or enable password protection for links. When a risk of leakage exists, use rotating links.
Multi-dimensional tables
Overview
Engineers can describe and generate multi-dimensional tables using natural language. After specifying the required data scope, key metrics, and analysis objectives, the system will build the SQL and initialize column configuration, generating a multi-dimensional table. Subsequently, you can update the column configuration or rename the multi-dimensional table via dialogue. The generated multi-dimensional table can be opened at any time in the "Intelligent Generation" panel for sorting, filtering, and further exploration. Once finalized and published, it can be provided for analysts to consume.
Analysts can customize the column configuration of a finalized multi-dimensional table or add AI columns for intelligent analysis.
Features
- Natural language input: Describe the content of the multi-dimensional table in Chinese or English without manually writing SQL or configuring each column.
- Automatic SQL generation and validation: The system generates a single SELECT or CTE query based on the actual database table structure and completes syntax and execution validation before saving.
- Automatic column name inference: When describing column name requirements in the dialogue, the system can automatically infer the business meaning of the column names and update them accordingly, eliminating the need for manual modification.
- Column configuration management: Supports setting display names, data types (text, numeric, date, currency, percentage, mapped, etc.), sorting rules, filter conditions, grouping, etc., for each column in a multi-dimensional table. Column configuration can be updated independently without affecting the underlying SQL.
- Intelligent analysis: Analysts can add AI columns to a finalized table. After selecting columns and entering prompts, the AI can automatically generate the required content.
- Hierarchical permissions: Engineers can update, modify multi-dimensional table drafts, and finalize them. Analysts can view finalized multi-dimensional tables, perform custom column configuration, or add AI columns.
- Configuration isolation: The multi-dimensional table configurations of engineers and analysts are completely isolated, with no mutual impact on configuration updates. Configurations among analysts are also completely isolated.
- Persistence and reuse: Multi-dimensional tables are persistently saved and can be viewed and referenced across sessions.
Input examples
- Help me create a multi-dimensional table that ranks the top 10 regions by sales volume.
- Give me a multi-dimensional table where I can forecast this year's sales management.
Procedure
From an engineer's perspective:
- The engineer describes the desired multi-dimensional table content in the dialogue.
- The system automatically probes the database structure, generates and validates the SQL, creates, and saves the multi-dimensional table.
- Open the multi-dimensional table in the "Intelligent Generation" panel to perform interactive operations such as sorting, filtering, and grouping.
- If adjustments are needed, use the multi-dimensional table panel to modify the configuration, or update the query logic or column configuration via dialogue.
- After modifying the configuration, the engineer can finalize the multi-dimensional table. After the application is published, this finalized table can be consumed by analysts.
- You can copy a multi-dimensional table at any time. A non-finalized copy table is generated, which can then be modified, configured, finalized, and so on.
From an analyst's perspective:
- Analysts subscribe to the application and enter the application details to view the multi-dimensional tables within the application.
- Supports performing interactive operations such as sorting, filtering, and grouping.
- Supports custom AI columns: After selecting columns and entering prompts, the AI can automatically generate the required content.
- Supports managing custom AI columns, including modifying column basic information, deleting columns, or regenerating column content.
Considerations
- Data in a finalized multi-dimensional table will not be updated.
- If an engineer deletes a multi-dimensional table, analysts can no longer view that table.
Dashboard
Overview
NL2Dashboard supports describing analysis requirements in natural language, generating interactive data dashboards, and saving the results as data applications. After users specify the metrics, dimensions, time range, and display preferences they are interested in, the system constructs the dashboard structure. Subsequent adjustments such as filters, time ranges, chart types, or metrics can still be made through dialogue.
Feature scope
- Natural language input: Users describe the dashboard's objectives and content layout in Chinese or English, without needing to individually select charts and field configurations.
- Data integration: With semantic layers or metric descriptions configured, the system can align with business meanings; queries and displays are then completed based on the actual tables and fields in the data source.
- Component types: Supports KPI cards; line charts, bar charts, area charts, pie charts, and stacked charts; dual-axis combination charts; scatter plots and bubble charts; detail tables; map-based displays when data has geographic dimensions; supports multi-tab partition layouts.
- Validation and persistence: Dashboard definitions are validated, compiled into a renderable format, and persisted. After generation, they can be viewed in the interface. The dialogue area and the dashboard can be used side by side in the same interface for easy comparison and modification.
Input examples
- Create a sales dashboard.
- Help me create an operations panel: key metrics at the top, trend line chart in the middle, and a detail table at the bottom.
Usage process
- Submit dashboard-related requirements through dialogue.
- The system generates and saves the dashboard; it is automatically displayed on the interface.
- Directly engage in dialogue based on the dashboard.
Workflow
Overview
A workflow is an automated build type in Intelligent Construction. You can describe automation requirements in natural language, and the agent generates a workflow draft. Alternatively, you can manually build nodes, adjust configurations, and save the workflow in the editor. The agent only creates or updates drafts and does not automatically publish, enable, or execute them during the dialogue. A workflow enters the actual runtime process only after it has been checked, saved, published, or enabled in the interface.
Demo video: workflow usage demo.mov
Feature scope
Node types
The workflow editor provides a visual node canvas for editing nodes and their configurations. Currently supported node capabilities include:
- Triggers: Manual trigger, scheduled trigger, record new trigger, record update trigger, record condition met trigger.
- Action nodes: Query records, HTTP request, LLM generation, message sending (including WeChat Work, Feishu, and Enterprise WeChat webhook scenarios).
- Process control: Conditional judgment, traversal processing.
During editing, node configurations are saved as drafts. Before publishing, you can continue to adjust the structure, fields, filter conditions, message content, HTTP parameters, LLM prompts, and other configurations.
When creating or modifying a workflow via dialogue, the agent generates a platform workflow draft based on user requirements. For tasks involving data tables, the agent first parses the available tables and fields, then generates query, filtering, triggering, or message nodes.
Dialogue-side modifications only affect the task flow's configuration; they do not automatically publish, enable, run, schedule, or generate external runtime configurations. Users still need to go to the workflow interface to check and complete subsequent operations.
Testing, publishing, and running
- Supports testing nodes to verify if node configurations are executable.
- Supports running all-node tests to help check process configurations before publishing.
- A workflow can be used as the current available version after publishing.
- Supports enabling/disabling workflows. After enabling, they will only run when trigger conditions are met.
- For workflows with manual trigger nodes, you can manually initiate a single run in the interface.
- Supports viewing runtime history and node-level execution details, including inputs, outputs, status, error messages, etc.
Workflow development and usage
When developing a workflow template, you can configure some node fields as parameters for analysts to customize. Engineers can choose which node fields allow external configuration on the editing side; users can fill in the actual values for these fields on the usage side.

Configuration and usage examples
Node Type |
Node Name |
Configuration |
Usage |
|---|---|---|---|
| Trigger | Manual trigger | ||
![]() |
|||
![]() |
|||
| Scheduled trigger |
<!-- This is an image. OCR content: Configuration. Scheduling type. Minute interval. Start time (required). 2026/04/29 16:39. Every N minutes. 10. End time (optional). Year/Month/Day--:- -->
<!-- This is an image. OCR content: Configuration. Scheduling type. Daily. Start time (required). 2026/04/29 16:39. Daily time. Every N days. 1. If not specified, it is the same as 1 day. End time (optional). Year/Month/Day---: -->
| Scheduled scheduling, not supported at the second level.
Task load varies, so workflows triggered by scheduled execution may be delayed. Not recommended for tasks requiring high time precision. | | | When a record is created |
| This trigger is fired after new data is added to the table. | | | When a record meets conditions |
| This trigger is fired when table data changes and the change meets the conditions. | | | When a record is updated |
| This trigger is fired when a field configured in the table changes. | | Action node | Get record list |
| This node is used to query a dataset that meets the configured requirements. The queried data can be consumed by downstream nodes. | | | HTTP request |
| Used to request an external API. The queried content can be consumed by downstream nodes. | | | LLM generation |
| Typically used for LLM processing, judgment, and summarization of upstream node information. | | | IM message (DingTalk, Feishu, WeCom) |
| Supports entering a webhook address and message content. You can set the keyword "datapilot" in chatbot security settings. | | Flow node | Conditional judgment |
| A conditional judgment node. If the condition is met, execute the [Met] branch; otherwise, execute the downstream node of the [Not Met] branch. | | | Loop |
| Used to traverse and consume the list data from the upstream node. |
Usage process
- Submit workflow-related requirements through the dialogue.
- The system generates a task flow configuration, which can be adjusted via dialogue or manually.
- After configuration, click Run Test. After successful testing, publish the agent.
- Analysts can enable the workflow to run it, or modify workflow parameters within the allowed scope.
- If a workflow is already running and a new version becomes available, you must manually update it to run the latest version.
Semantic Processing
Overview
The semantic processing module automatically analyzes the database schema to establish a business semantics layer for the AI assistant. With this layer, the AI can understand the business meaning of fields, the calculation logic of metrics, and the relationships between tables when processing natural language queries. This enables it to generate more accurate SQL and reduce manual intervention.
Demo video: Semantic Model Usage Demo.mov
I. Business Entities
What is it?
The business entities module displays all data tables that have undergone semantic processing under the current Agent, along with the semantic content of each table. You can view and verify the results automatically extracted by the AI, and manually supplement or correct certain content.
What information does each table contain?
Identifier
The primary key or business entity identifier of a table, used to uniquely locate a record. For example, customer_id, described as "Unique customer identifier".
Dimension
An analytical field that can be used for grouping and filtering. Examples include "Customer Segmentation", "Region", and "Transaction Month".
- Time dimensions are labeled with a time format, such as
YYYY-MM. - Low-cardinality dimensions (with fewer enumerated values) can be expanded to view all optional values.
- High-cardinality dimensions (with many enumerated values) display some sample values; you can manually trigger a full synchronization.
Metric
An aggregateable business metric, such as "Total Sales", "Number of Customers", or "Average Unit Price", accompanied by an aggregation expression, such as SUM(Consumption).
Dimension Value Management
Click the label icon on the right side of a dimension row to open the value management panel for that dimension:
- View all enumerated values.
- Configure a business alias for each value (for example, map code
"01"to"North China Region") to help the AI correctly interpret user-entered business terms. - High-cardinality dimensions support pulling full dimension values from the database.
Actions
- Click the Refresh Button on the right side of the title bar to reload the latest list of business entities.
- Click a table name to expand and view the complete semantic content of that table.
II. Entity Associations
What is it?
Entity associations describe the join relationships between data tables. When the AI processes queries involving multiple tables, it uses this association information to find the correct join path and conditions, avoiding incorrect joins caused by guessing field names.
Source of association
Associations can originate from two sources:
- Semantically generated: Primary and foreign key relationships automatically inferred by AI during Phase 2.
- Manually added: Associations manually supplemented by users through the interface, which have a higher priority than results generated by AI.
The two sources are distinguished on the interface by color labels.
Association attributes
Each association record describes the join method between two tables, including:
- The names of the left and right tables.
- The JOIN type (LEFT / INNER / RIGHT / FULL).
- The join condition (which field equals which field).
- A business description.
Relationship diagram
Click "View relationship diagram" to open a visual topology map that intuitively displays the association structure between tables:
- Each table is a node, and association relationships are connected by directed arrows, with the JOIN type labeled on the arrow.
- Nodes can be dragged to adjust the layout.
- Click a line to view detailed information about the association.
- Click a node to view the table's identifier, dimensions, and metrics in the right-side panel.
Manually manage associations
You can add or delete associations at the bottom of the entity association panel:
- Select the left and right tables, choose the JOIN type, enter the join condition and business description, then click Confirm Add.
- Only manually added associations can be deleted. Associations generated by AI are uniformly managed by the semantic processing pipeline.
Actions
- Click the Refresh button on the right side of the title bar to reload the latest association relationships.
III. How semantic information helps AI
After semantic processing is complete, AI will proactively call semantic tools to obtain relevant information when answering business questions, making the entire process transparent to users:
- Find the right table: Identify the most relevant target table from multiple candidate tables based on the business descriptions of the tables and fields.
- Use the right field: Determine the correct grouping, filtering, and aggregation fields based on the business descriptions of dimensions and metrics.
- Write the right value: Fill in correct enumerated values in filter conditions using dimension values and aliases, even if users use business names rather than original codes.
- Connect the right tables: Generate the correct cross-table JOIN conditions through association relationships, without relying on guessing field names.
Predictive analytics
Code Execution
Overview
Code Execution provides Python sandbox environments for DataPilot's engineer roles. Agents can call the code execution tool as needed during a conversation to run Python code in an isolated sandbox. The sandbox is bound to the dialogue session, automatically preserving variable and import states across multiple steps, supporting multi-step processing, statistical analysis, and flexible output.
Code Execution is based on the E2B-compatible protocol, allowing it to connect to official E2B cloud services or run internally within private networks without public access.
Demo video: engineer-sandbox-demo-2.webm
I. Feature Scope
- Natural Language Drive: After a user submits a data analysis request, the agent automatically determines whether code execution is required, generates Python code, and runs it in the sandbox, eliminating the need for manual coding.
- Sandbox Isolated Execution: Code runs in an independent sandbox, isolated from platform service processes. Multiple calls within the same session share the same sandbox instance, with variable, import, and file states automatically preserved between calls.
- Tool Call Chain Visibility: The execution process displays tool identifiers (such as
execute_python_code) and code previews/summaries in the dialogue stream. Results are echoed back as messages or cards, facilitating verification and reproduction. - Switch Control: Enable/Disable the code execution tool in the dialogue to control whether code-based tools are exposed in the chat within the current configuration scope. When disabled, related tools should not appear in the dialogue toolchain.
II. Administrator Configuration (System Management > Sandbox Management)
In the system management panel, administrators with model management permissions can see the 「Sandbox Management」 tab, used to configure the E2B sandbox service:
region |
Description |
|---|---|
| Sandbox service (connection configuration) | + E2B Domain Name: Enter the bare domain name of the E2B-compatible gateway (for example,e2b.localore2b.dev), the system will automatically normalize the input.+ E2B API Key: The gateway authentication key. Stored keys are displayed in masked form. + Test Connection: To https://api.{domain}/sandboxesInitiates a probe request and returns the latency in milliseconds to verify network reachability and authentication correctness.+ Connection status: The indicator light in the upper-right corner shows "Verified" (green pulsing dot) or "Not Verified" (gray solid dot). |
| Code Interpreter Sandbox (enable switch) | + The switch to control whether to provide the agent with information during the dialogue.execute_python_code+ It must be enabled after you verify it by using the Test Connection option. + After you disable the code execution tool, the agent will no longer call it during conversations. |
Note: The sandbox instances started by the built-in sandbox do not provide container-level isolation.
III. Engineer Usage Scenarios
Tool Invocation Timing
The agent automatically selects tools based on the following strategy:
Scenario |
Recommended Tools |
|---|---|
| Basic filtering, aggregation, JOIN, and table structure viewing | Database Query Tool (SQL) |
| Multi-step DataFrame cleaning, feature engineering, statistical analysis, data science | execute_python_code |
| Logics that are difficult to express in SQL (such as iteration and conditional branching) | execute_python_code |
Interaction Process
- User Sends Analysis Request: For example, "Help me analyze the orders table using pandas, summarize sales by month, and draw a line chart."
- Code Generation (Streaming): The agent generates Python code, which is rendered character by character with a typewriter effect on the interface, with dark code blocks and a blinking cursor.
- Code Execution (Waiting): The code is sent to the sandbox for execution, and the interface displays a spinning loading icon and the message "Code execution in progress...".
- Result Display (Inline): After execution completes, the result is directly displayed within the tool card:
- Standard Output: A text block with a gray background.
- Standard Error: A warning text block with an amber background.
- Plain Text Result: Non-image MIME results returned by the code.
- Agent Summary: Based on the execution result, the agent summarizes key findings for the user in natural language.
Error Handling
When execution fails, a localized error message is displayed in a red panel within the tool card:
Error type |
Description |
|---|---|
| Execution Timeout (Soft/Hard) | The code execution exceeds the configured timeout limit, or the sandbox is interrupted or terminated. |
| Memory/CPU Exceeds Limit | Code consumption exceeds sandbox quota |
| Python Syntax/Runtime Errors | The code itself contains a bug, displaying the complete traceback. |
| Sandbox creation failed. | Gateway unreachable or authentication failed |
| Sandbox expired | The session sandbox is reclaimed due to idle timeout. Simply re-execute the command to automatically create a new instance. |
| Insufficient Quota | The number of concurrent sandboxes has reached the upper limit. |
IV. Pre-installed environment in the sandbox
The following table describes the databases that are pre-installed in the code interpretation sandbox and can be directly imported:
Category |
Package name |
Version |
|---|---|---|
| Data processing | pandas, numpy, pyarrow |
>=2.2, >=1.26, >=15 |
| Database Access | datapilot_data |
(Run-time injection) |
Database access mode
In the sandbox, the injected datapilot_data SDK is used to connect to the data source of the current agent:
import pandas as pd
from datapilot_data import connect
conn = connect()
df = pd.read_sql("SELECT * FROM orders LIMIT 100", con=conn)
Model configuration
Overview
Model Management is used to uniformly handle three tasks within Datapilot: which model service to connect to (credentials and endpoint), which callable model instances are available in the system (enable/disable), and which models to use for dialogue, vectorization, and knowledge base indexing. After completing the configuration, capabilities such as chat and knowledge base will call the corresponding APIs as you have selected; if not completed, the page will prompt you to continue connecting or complete the binding.
I. Module Binding: Which Model Set to Use for Business Purposes
In the "Module Binding" section, select one enabled model for each of the three purposes:
- Dialogue Model: The main process for user-agent dialogue and reasoning.
- Embedding Model: Converts text into vectors. You need to select an Embedding type.
- Knowledge Indexing Model: The LLM used for segmenting and indexing knowledge base documents. If you select "Follow Dialogue Model", it shares the same set with the dialogue model, eliminating the need for separate maintenance.
After selection, click "Save Binding" for it to take effect. The drop-down list is grouped by vendor and supports searching by display name, runtime model name, or credential information.
II. Vendor Catalog: Where to Obtain Keys
The "Vendor Catalog" on the right (or the "Catalog" tab on narrow screens) lists accessible vendor types, including the built-in model catalog of multiple cloud providers, OpenAI-compatible self-managed/third-party gateways, OpenRouter, and others. You can search by name or description, and narrow down the scope using All / Including Dialogue LLM / Including Embedding.
Click a vendor to go to Create Credential: Generally, you need to fill in the Credential Name and API Key; some types also require a Base URL (e.g., compatible gateways, OpenRouter). When creating an OpenAI-compatible connection, you usually specify the type (Dialogue or Embedding) and Model Name (consistent with the upstream model parameter) for the first model, along with an optional Context Length in the same process.
III. Connected: Credentials and Model Instances
"Connected" folds displayed the created connections by vendor:
- Providers with Built-in Catalog: After saving the credential, the models in the official catalog are listed below. The catalog is for reference only; you need to click "Add Built-in Model" to create an instance in the system, then use the switch Enable/Disable. Unadded models do not participate in binding.
- OpenAI-compatible / OpenRouter, etc.: Designed to support one or more model connections per vendor; you can create a new connection, complete the model, edit, delete, and perform a connectivity test for individual models. Keys are desensitized in the interface; leaving the API Key blank when editing a credential indicates no modification.


