Skip to main content
The Catalog tab in the Code IDE can hand documentation work to DinoAI. DinoAI reads your model and writes a description for the model and for each of its columns into the model’s schema YAML file.

Generate documentation

  1. Open a model’s .sql file in the Code IDE.
  2. Open the Catalog tab in the bottom panel.
  3. Select Generate with DinoAI.
The DinoAI panel opens a new chat in Agent mode and sends a request that names the model and its file. The request asks DinoAI to:
  • write a description for the model and for each of its columns
  • add them to the model’s schema YAML file, and create the model’s entry if the file has none
  • fill in only the descriptions that are missing, and never overwrite a description that already has a value

Review the changes

DinoAI changes the schema YAML file through an Edit file or Create file row in the chat. Your approval mode decides whether DinoAI asks before it writes:
  • If the row shows Awaiting Approval, check the diff, then select Accept once or Reject.
  • After the change is written, select the file name in the row, or in N files above the message box, to open the file.
You can keep the chat going to refine the descriptions, for example: “Make the column descriptions shorter”.
Generate with DinoAI needs a model file that Paradime can find in your repository. If you see Oops! We could not find that file, commit your changes and try again.