sources.yml files, turning a slow manual task into a few seconds of work. In this guide you generate a sources.yml file for tables in your warehouse.
Prerequisites
- DinoAI copilot access in your Paradime workspace.
- A data warehouse connected to your Code IDE environment.
Steps
1
Open DinoAI in Agent Mode
Click the DinoAI icon in the left panel, then make sure Agent Mode is selected.
2
Add context (optional)
When updating existing sources with new tables, add context by clicking the ”@” symbol and selecting your existing
sources.yml file. Context helps DinoAI understand your existing project structure and make more relevant changes.If you are updating (not creating) a YAML file, DinoAI preserves existing documentation and adds only the new tables.
3
Enter your prompt
Ask DinoAI to create a
sources.yml file. For example:I uploaded some new data to my data warehouse. Can you create a sources.yaml file?DinoAI connects to your data warehouse, scans available schemas and tables, retrieves column information including data types, and applies your .dinorules preferences if configured. It then generates a properly formatted
sources.yml file.4
Review and accept the changes
Review the preview of the generated YAML, then accept the changes to create the file in your project.
The new
sources.yml file appears in your project with all expected sources, tables, and columns. If tables are missing, confirm your warehouse connection has access to the relevant schemas and re-run the prompt.Next steps
Generate dbt™ models
Turn your new sources into staging and intermediate models.
Generate documentation
Add model and column descriptions with tests.
DinoAI use cases
Explore more ways to work with DinoAI.
Copilot reference
How context and Agent Mode work.