Skip to main content

Use dbt Copilot beta

Use dbt Copilot to generate documentation, tests, and semantic models from scratch, giving you the flexibility to modify or fix generated code. To access and use this AI engine:

  1. Navigate to the dbt Cloud IDE and select a SQL model file under the File Explorer.

  2. In the Console section (under the File Editor), click dbt Copilot to view the available AI options.

  3. Select the available options to generate the YAML config: Generate Documentation, Generate Tests, or Generate Semantic Model.

    • To generate multiple YAML configs for the same model, click each option separately. dbt Copilot intelligently saves the YAML config in the same file.
  4. Verify the AI-generated code. You can update or fix the code as needed.

  5. Click Save As. You should see the file changes under the Version control section.

Example of using dbt Copilot to generate documentation in the IDEExample of using dbt Copilot to generate documentation in the IDE
0