title | sidebar_label | description |
---|---|---|
Use dbt Copilot |
Use dbt Copilot |
Use the dbt Copilot AI engine to generate documentation, tests, and semantic models from scratch, giving you the flexibility to modify or fix generated code. |
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:
-
Navigate to the dbt Cloud IDE and select a SQL model file under the File Explorer.
-
In the Console section (under the File Editor), click dbt Copilot to view the available AI options.
-
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.
-
Verify the AI-generated code. You can update or fix the code as needed.
-
Click Save As. You should see the file changes under the Version control section.