Skip to main content

Metis Edit

Metis analyzes the Data Product, identifies the relevant dbt model, applies the requested changes, validates the implementation, and prepares the changes for review.

Instead of manually identifying the relevant project files and making changes, you can describe the required change using natural language. Metis analyzes the project context and identifies the relevant files and models.

Edit Flow Use Cases

Use Edit Flow when you need to modify an existing Data Product, such as:

  • Updating an existing transformation
  • Changing business logic
  • Modifying a dbt model
  • Updating project configuration
  • Making other supported changes to an existing Data Product

Metis Edit Flow !!shadow!!

note

Metis Edit is intended to modify an existing Data Product. The Data Product must be available in an editable context.

Step 1. Open the Data Product Preview

After selecting a Data Product, open the Preview tab.

The Preview page provides a view of the data generated by the Data Product. Depending on the Data Product, users may see:

  • Presentation Tables
  • Intermediate Tables
  • Data Model Graph
  • Test Results
  • Quality Tests
  • Governance Checks
  • Performance information

The Preview provides useful context before requesting a change because it allows users to understand the current structure and output of the Data Product.

Data Product Preview !!shadow!!

Step 2. Enable Edit Mode

The Data Product page provides a Read / Edit control.

To make changes through Metis, switch the Data Product to Edit mode. Edit mode allows Metis to work with the underlying project and create changes in a controlled development workspace.

Once Edit mode is enabled, Metis first establishes the workspace in which the requested changes will be performed.

Enable Edit Mode !!shadow!!

Once the workspace has been configured, users can describe their desired change using natural language rather than manually specifying the dbt model or SQL implementation.

Metis analyzes the project context and determines where the requested change needs to be made.

Step 3. Start the Metis Task

After entering the request, select Start. Metis creates a task and begins processing the request. It displays the progress of the operation as it moves through different stages.

  • Initially, the workflow may display messages such as:
  • Started
  • Setting up an isolated workspace
  • Starting your AI assistant
  • Preparing your session with full project context
  • Sending your request to the agent

These messages indicate that Metis is preparing the development environment and providing the AI agent with the relevant project context.

Start Metis !!shadow!!

Step 4. Metis Validates and Reviews the Changes

After identifying the correct model, Metis modifies the model according to the user's request.

This gives users visibility into what the AI agent changed rather than simply reporting that the task succeeded. Once the requested changes and validation steps are complete, Metis marks the task as Completed.

Metis Review Changes !!shadow!!

note

Always review the changes proposed by Metis before submitting them for review.

Step 5. Create a Merge Request

When the requested changes are complete, select: Finish and Open MR

Metis prepares the changes for review and creates a Merge Request. The Merge Request contains the changes generated during the Metis task.

Metis Review Changes !!shadow!!

The generated changes can therefore be reviewed before they are merged.