schema.yml documentation for a directory of models.
Prerequisites
- DinoAI copilot access in your Paradime workspace.
- A dbt™ project with models to document.
Steps
1
Add a directory as context
In DinoAI, click the ”@” symbol and add the folder of models you want to document as context.
Directory context is especially powerful for documentation tasks, since it lets DinoAI document many models in a single pass.
2
Enter your prompt
Ask DinoAI to document the models. For example:
I have a bunch of new files in my Marts folder. Can you document these for me?DinoAI scans all models in the directory, analyzes each model’s structure, column names, and relationships, and generates
schema.yml files with model descriptions, column descriptions, and tests. If configured, it follows your .dinorules documentation standards.3
Review the generated documentation
Review the output before accepting it. Each model gets a description, and each column gets a description with tests where appropriate.
.yml file example
.yml file example
4
Accept the changes
Accept the changes to write the
schema.yml files into your project.Each model in the folder now has a description, column descriptions, and tests in its
schema.yml file. If any model was skipped, confirm it was included in the directory context and re-run the prompt.Next steps
Configure data pipelines
Set materializations, schemas, and tags for your models.
Build marts models
Combine multiple models with business logic.
DinoAI use cases
Explore more ways to work with DinoAI.
Copilot reference
How context and Agent Mode work.