3.2 Working with Table Groups

Table groups are logical collections of related tables. By grouping tables, you help an LLM understand relationships that aren't explicitly defined by foreign keys, such as tables belonging to a specific business domain.

Learn how to create table groups, add annotations to them, and assign tables to those groups.

3.2.1 Creating a Table Group

Follow these steps to create a new table group.

  1. In the AI Enrichment dashboard, click Add Group within the Table group section.
    The Create Table Group panel opens.

    Create a table group

  2. Enter a name and description for the group.
  3. Select the tables you want to include in this group.
  4. Click Apply.
The new group now appears in the Table groups section of the dashboard.

3.2.2 Adding a Description to a Table Group

Follow these steps to add a natural language description to a table group.

  1. In the AI Enrichment dashboard, review the Table groups section to identify any missing descriptions.
  2. To add a description to a group, click its Description cell.
  3. In the Set description panel that appears, enter a description and click Save.

You can also add group descriptions directly in a table group's view. To open it, click a group's name on the dashboard or in the Connections panel, under the AI Enrichment node.

Table group view

3.2.3 Adding Annotations for a Table Group

Follow these steps to add or edit annotations for a table group.

  1. In the Table group section of the AI Enrichment dashboard, click ... for the target group.
    The Manage Annotations panel opens.

    Annotate table groups

  2. To define an annotation, enter a key-value pair in the New annotation and Annotation value fields, respectively.
  3. Click Add, and then click Apply.
The new annotation is added to the table group. You can also edit an existing annotation from the Manage Annotations panel.

3.2.4 Adding an Existing Table to a Group

Follow these steps to add an existing table to a group.

  1. Open a table group's view.
    Click a group's name in the Table group section of the AI Enrichment dashboard, or in the Connections panel under the AI Enrichment node.
  2. Click Add Table in the group view.
  3. In the Import Tables panel, select the tables you want to include in this group.
    Import table dialog box
  4. Click Apply.

3.2.5 Assigning a Table to Multiple Groups

A single table can belong to multiple logical groups, reflecting its role in different business contexts.

Follow these steps to add a table to multiple groups.
  1. Open a table's view in one of the following ways:
    • Click a table's name in the Connections panel, under the AI Enrichment node.
    • In the Table group section of the AI Enrichment dashboard, click a group's name. In the resulting view, click a table's name from the Tables section.
  2. Click the Table groups tab, and then click Add table group.
    The Group Selector panel opens.

    Group Selector panel

  3. Select the groups to which you want to add your table, and click Apply.