# How to Generate a Data Source Description

### Navigate to the Data Dictionary Builder

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/36550ea9-71d5-4daa-b9c8-d7a696f67c22/ascreenshot.jpeg?tl_px=0,189\&br_px=1376,959\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=51,329)

### Select your data source

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/2f097247-a0a9-41cc-bf28-662d34c270ef/ascreenshot.jpeg?tl_px=159,33\&br_px=1536,802\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=524,277)

### Select a Cortex AI model

See the [model availability by cloud provider](https://docs.snowflake.com/user-guide/snowflake-cortex/aisql#availability) for more information.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/74142349-97c9-4640-a87c-433bdc4f4a20/ascreenshot.jpeg?tl_px=0,149\&br_px=1376,918\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=331,276)

### (Optional) Modify the Data Source Description Word Limit

The maximum number of words to be generated by Cortex AI for the data source description.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/18f6da3b-bbf2-43f1-94f1-9b49c923dbbe/ascreenshot.jpeg?tl_px=0,103\&br_px=1376,872\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=509,277)

### (Optional) Modify the Array Description Word Limit

The maximum number of words to be generated by Cortex AI for the array description.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/6bb442e4-e492-4adc-a155-e65668344c01/ascreenshot.jpeg?tl_px=164,101\&br_px=1541,870\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=629,277)

### (Optional) Modify the Attribute Description Word Limit

The maximum number of words to be generated by Cortex AI for the attribute description.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/aab91165-c6a3-4620-ae43-0400d0787b07/ascreenshot.jpeg?tl_px=164,103\&br_px=1541,872\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=857,277)

### Open the Data Source Description editor

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/df50c034-246b-4b19-8e5a-591bb3da434b/ascreenshot.jpeg?tl_px=0,121\&br_px=1376,890\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=295,277)

### (Optional) Add a custom AI Prompt

This prompt will be added to the DataPancake system prompt.

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/f3d6ef20-92cd-44cd-976c-ce05fd90780e/ascreenshot.jpeg?tl_px=0,92\&br_px=1376,861\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=491,277)

### Generate a description with Cortex AI

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/61c7d8de-fdfb-4dec-8521-8c509b3fb38d/ascreenshot.jpeg?tl_px=0,166\&br_px=1376,935\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=296,277)

### Review & modify the generated description

{% hint style="warning" %}
Please be aware of using special markdown characters such as ' or " in the AI prompt or description as they may interfere with the final prompt.
{% endhint %}

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/7faaf494-f86d-44fa-8316-cfb3a023e917/ascreenshot.jpeg?tl_px=121,189\&br_px=1497,959\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=524,345)

### Save the description

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/a5a6a5f7-b002-4dc8-be58-351b1f764c52/ascreenshot.jpeg?tl_px=0,189\&br_px=1376,959\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=313,498)

### Verify the description saved successfully

![](https://ajeuwbhvhr.cloudimg.io/https://colony-recorder.s3.amazonaws.com/files/2025-12-19/17ecce4c-fc07-4c83-902d-b9e0366f63f2/ascreenshot.jpeg?tl_px=164,0\&br_px=1541,769\&force_format=jpeg\&q=100\&width=1120.0\&wat=1\&wat_opacity=1\&wat_gravity=northwest\&wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/FB923C_standard.png\&wat_pad=866,146)
