All Products
Search
Document Center

Dataphin:X-Coding Assistant

Last Updated:Sep 30, 2025

The code assistant leverages large language model capabilities to help you efficiently complete code development with low-cost operations for programming tasks.

Prerequisites

  • You must activate the Basic Development Edition to use X-Coding Assistant.

  • Before using X-Coding Assistant, you need to enable X-Coding Assistant in Super X > Intelligent Application Management > Intelligent Applications and complete the model configuration.

Limits

Only the MaxCompute compute engine supports X-Coding Assistant (Dataphin Copilot).

Permission description

Super administrators, system administrators, operations administrators, and custom global roles with Intelligent Applications-Management permissions can enable or disable X-Coding Assistant and configure available models for X-Coding Assistant.

Scenarios for X-Coding Assistant

X-Coding Assistant currently supports the following features:

  • Model selection

  • Code Q&A

  • Supplementing files and code snippets based on context

  • Quick application/discard of content generated by X-Coding Assistant

  • Single Q&A with support for secondary editing and multi-round Q&A

  • Automatic suggestions for predicted supplementary content

After you enable X-Coding Assistant, you can click the image icon in the menu bar of a compute node to open X-Coding Assistant (Dataphin Copilot). You can use its features to assist with your development tasks. The following examples demonstrate some of the features of the coding assistant.

Scenario 1: Multi-round Q&A code generation and application

  1. In the Dataphin Copilot dialog box, select a Q&A model and enter an instruction, such as Generate a CREATE TABLE statement for a new user table. The models available in the dialog box are based on the configurations in Intelligent Application Management. For more information, see Intelligent Application.

  2. After X-Coding Assistant generates an answer, you can click the image icon above the code block to apply the content of the corresponding code block to the editor. You can also continue the Q&A based on the previous round.

钉钉录屏_2025-09-16 164217

Scenario 2: SQL code and general conversation Q&A

In Dataphin Copilot, you can ask for an explanation of SQL code or for instructions on how to use it. You can also ask general questions.钉钉录屏_2025-09-16 164706

Scenario 3: Automatic code continuation/completion based on context

In the code editor, enter any SQL statement or comment, and X-Coding Assistant will automatically continue/complete the content for you. You can press the Tab key to use the code provided by X-Coding Assistant.

自动补全

General scenario: Rate the model's response

After a Q&A session in Dataphin Copilot, you can rate the model's response by selecting the thumbs-up or thumbs-down icon. If you select the thumbs-down icon, you can submit feedback.钉钉录屏_2025-08-14 162606_20250814162706