[Read on Dashport](https://v2.dashport.ai/documentation/column-comments-ai-context)

§2.3Column comments & AI contextContents▾

Dashport Docsv2.0

08/35

Search the documentation

⌕/

1.  [01Getting Started](/documentation)3
    
    1.  [Introduction](/documentation/introduction)
    2.  [Creating your account](/documentation/creating-your-account)
    3.  [5-minute quick start](/documentation/5-minute-quick-start)
2.  [02Connecting Data](/documentation/connecting-data)−
    
    1.  [Supported integrations](/documentation/supported-integrations)
    2.  [Connect a database](/documentation/connect-a-database)
    3.  [Column comments & AI context](/documentation/column-comments-ai-context)
    4.  [SuperSheets as a source](/documentation/supersheets-as-a-source)
    5.  [Credential security](/documentation/credential-security)
    6.  [Refresh intervals](/documentation/refresh-intervals)
3.  [03Using SuperSheets](/documentation/using-supersheets)12
    
    1.  [What is SuperSheets?](/documentation/what-is-supersheets)
    2.  [Creating a sheet](/documentation/creating-a-sheet)
    3.  [Data entry & column types](/documentation/data-entry-column-types)
    4.  [Formulas & calculations](/documentation/formulas-and-calculations)
    5.  [Formatting & selection](/documentation/formatting-and-selection)
    6.  [Sort, filter & columns](/documentation/sort-filter-columns)
    7.  [Row operations](/documentation/row-operations)
    8.  [Validation & frozen panes](/documentation/validation-frozen-panes)
    9.  [Import & export](/documentation/import-and-export)
    10.  [Sharing & activity log](/documentation/sharing-activity-log)
    11.  [Keyboard shortcuts](/documentation/keyboard-shortcuts)
    12.  [Use as a data source](/documentation/use-as-a-data-source)
4.  [04Asking Chat](/documentation/asking-chat)5
    
    1.  [How Chat works](/documentation/how-chat-works)
    2.  [Writing effective prompts](/documentation/writing-effective-prompts)
    3.  [Example conversations](/documentation/example-conversations)
    4.  [Building charts via Chat](/documentation/building-charts-via-chat)
    5.  [Limits & best practices](/documentation/limits-and-best-practices)
5.  [05Building Dashboards](/documentation/building-dashboards)4
    
    1.  [Three ways to build](/documentation/three-ways-to-build)
    2.  [Drag-and-drop builder](/documentation/drag-and-drop-builder)
    3.  [Ask Chat to build](/documentation/ask-chat-to-build)
    4.  [Sharing & permissions](/documentation/sharing-and-permissions)

1.  [Docs](/documentation)
2.  /[Connecting Data](/documentation/connecting-data)
3.  /Column comments & AI context

⧉Copy page▾

§ 2.3/Connecting Data

# Column Comments & AI Context

When you connect a source and select a table, Dashport lets you add a **comment** to each column. These comments are passed directly to the AI — the clearer and more descriptive they are, the better and more accurate the answers you'll get from Dashport Chat.

Why this matters

Column names alone are often ambiguous — `amt`, `rev`, or `cust_id` mean nothing to an AI without context. A short comment explaining what a column represents, its unit, and any business logic behind it gives the AI exactly what it needs to answer your questions correctly the first time.

## Where to add comments[#](#cd-column-comments-where)

After selecting your table in the connection wizard, Dashport displays a column preview panel. Each column row has a `Comment` field on the right-hand side — click it to type your description. Comments are saved with the connection and used every time Chat queries that source.

orders · columnscomment

order\_datedateThe date the customer placed the order (UTC, YYYY-MM-DD).

amtnumberTotal order value in USD, after discounts, before tax.

statustext Comment

## Examples: vague vs. clear[#](#cd-column-comments-examples)

Column name

Poor comment

Clear comment

`order_date`

− Date

+The date the customer placed the order (UTC, YYYY-MM-DD). Use this as the primary time axis for all revenue trends.

`amt`

− Amount

+Total order value in USD, after discounts, before tax. This is the main revenue figure used in financial reports.

`cust_id`

− Customer ID

+Unique identifier for the customer. Join to the customers table on this column to get name, region, and plan tier.

`status`

− Status

+Order lifecycle status. Values: pending, processing, completed, refunded, cancelled. Only 'completed' counts as recognised revenue.

`mrr`

− MRR

+Monthly Recurring Revenue for this subscription in USD. Excludes one-time charges and trial accounts (trial = 1).

`product_sku`

− SKU

+Internal product code. Maps to the products table. Use the product\_name column from that table for user-facing labels.

## Tips for writing good comments[#](#cd-column-comments-tips)

*   ›**State the unit.** Always say whether a value is in USD, GBP, minutes, percentage points, etc. — never assume it's obvious.
*   ›**List possible values for status/flag columns.** Enumerated fields like `status` or `plan_tier` should have all valid values listed so Chat can filter them correctly.
*   ›**Explain joins.** If the AI needs to combine this column with another table to get a human-readable label, say so in the comment.
*   ›**Clarify business rules.** If only certain rows count toward a metric (e.g. only `status = 'completed'` is revenue), document it here so Chat applies the right filter automatically.
*   ›**Note the time zone.** For date and timestamp columns, specify whether values are UTC, local, or something else — this prevents off-by-one errors in daily and hourly charts.
*   ›**Keep it concise but complete.** Two or three sentences is ideal. You don't need an essay — just enough that someone unfamiliar with your schema would understand the column immediately.

✓

Tip

Think of column comments as a cheat-sheet you're handing to a smart analyst who has never seen your database before. The more context you give, the fewer follow-up questions Chat needs to ask — and the more useful your charts will be on the first try.

[←Previous · §2.2Connect a database](/documentation/connect-a-database)[Next · §2.4→SuperSheets as a source](/documentation/supersheets-as-a-source)

On this page0%

↑ Back to top

## Stuck on a step?

Tell us what you tried and what you expected.

*   [Open a ticket →](/open-ticket)
*   [System status →](/status)
