Proper documentation of tables and columns provides the foundational context required for formal semantic modeling. This initial step is essential for translating technical database structures into familiar business concepts and is critical for data governance, user understanding, and effective analytics. This guide will show you how to do it.
Document Tables
For each table in your data model, there is a single required documentation field:
Field | Description | Example |
---|
Description | In this field, you should provide a clear explanation of what the table represents, focusing on a concise, plain-English description of each row’s purpose and content. | This table stores detailed records of business accounts that have monthly revenue exceeding $10,000. Each row represents a single account and includes fields such as account ID, account name, industry classification, account creation date, current status (active, inactive, suspended), monthly revenue amount, and primary contact information. |
Always specify the granularity of each row in your table description. This helps analysts understand the level of detail in the data and prevents misinterpretation during analysis.
To Document tables, go to Domains > Select a Domain > Data Sources > Tables.
Document Columns
For columns, WisdomAI supports these documentation fields:
Field | Description |
---|
Display Name | User-friendly name shown in the interface (especially useful if the actual column name is technical or abbreviated). |
Description | Clear explanation of what the column represents in business terms. |
Display Format | How the data should be formatted and displayed to users. |
To Document Columns, click on the table’s name. A new page will open, displaying a list of all columns in the table.
Set up RAG for Textual Columns
Retrieval-Augmented Generation (RAG) for Textual Columns is a feature that enhances the AI’s ability to understand and search through the data within a specific table. By configuring RAG for a table, you enhance the AI’s ability to search through data by selecting specific columns for different functions:
- Text content for search: You can define which columns contain rich text that should be searched over.
- Filters for queries: You can select columns with structured data, such as IDs and dates, which can be used to narrow down search results.
- Primary Keys: You can pick columns that uniquely identify each row, which aids in data retrieval.
To configure RAG for a table, follow these steps:
- Navigate to Domains > Select your preferred domain > Data Sources > Tables and locate the table for which you want to configure RAG columns.
- Click on the three vertical dots icon and then on RAG Settings.
-
In the RAG Configuration for Textual Columns window that opens, complete the following:
- In the Text content columns for search field, select the columns that contain rich text content that will be searched over.
- In the Filter columns for queries field, select columns with structured data (like IDs or dates) that can be used to narrow down search results.
- In the Primary key field, choose one or more columns that uniquely identify each row in the table.
- In the Description of search columns text box, write a brief description of what the combination of the search columns represents. This helps the AI better understand the context of your data.
- (Optional) Click Advanced Options to specify columns for citation titles and URLs in the AI’s answers.
-
Click Save to apply your settings. A notification will appear confirming the configuration is updated and the data sync has been triggered.
Next Steps