AI Enrichment

Use AI Enrichment to add database annotations that help Agent Factory understand schemas, tables, and related database objects.

AI Enrichment stores descriptive, business-centric metadata as annotations on supported database objects. You can use annotations to describe schemas, group related tables, and document tables and columns.

Use annotations to make database objects easier to understand and prepare them for AI-assisted workflows.

Supported Annotation Targets

You can add annotations to the following database object types:

Note: Automatic annotation generation is not available currently. Add annotations manually from the object pages.

Prerequisites

Install AI Enrichment Packages

Install the AI Enrichment packages in the target schema before you add annotations.

If the selected schema does not have the required AI Enrichment packages, then Agent Factory displays a warning message at the top and prompts you to install them. Select Install packages on schema_name to begin the installation.

Install Prerequisite Packages

Review the installation status in the package installation dialog. Once completed, you can add annotations.

AI Enrichment Packages Installation

Note: To install AI Enrichment packages in a target schema, the database credential used by Agent Factory must have CREATE SESSION, CREATE TABLE, CREATE VIEW, CREATE SEQUENCE, and CREATE PROCEDURE. The credential must also have sufficient tablespace quota or UNLIMITED TABLESPACE. The intended same-schema deployment model does not require ANY system privileges.

Add Annotations

  1. In the left navigation menu, select AI enrichment.

  2. Select Refresh data sources if the database source was added recently.

  3. Expand a database source to view the schemas and supported database objects.

  4. Select Schema Dashboard.

    The schema dashboard displays the schema description, table groups, and actions for creating table groups. Use this dashboard to review annotation coverage across tables and columns and identify objects that still need enrichment.

    Schema Dashboard

  5. Create a table group and add annotations.

    1. To create a table group, select Create table group. Table groups collect related tables so that you can annotate them as a logical unit. Enter a group name, select the tables that you want to group, and click Submit.

      Add Table Groups

    2. After you create a table group, open it to edit its name, manage its tables, and manage table group annotations.

      Add Annotations For Table Groups

    3. Select Manage table group annotations to annotate a table group.

      Manage Table Group Annotations

    4. Use annotation labels and values to document the selected object. In Annotation label, select a preset label. Preset labels include ALIASES, DESCRIPTION, JOIN COLUMN, UNITS, and VALUES. To add your own label, select I want to add a custom label, and then enter the label.

      Manage Annotations

    5. In Annotation value, enter the annotation text. Select Add annotation.

      Add Annotations

    6. The annotations table displays existing annotations for the selected object. To remove an annotation, use the delete action in the Actions column.

      Annotation Table

  6. To annotate a table, expand the Tables object, select a table from the list, and then select Manage table annotations.

    Table Annotations

See Supported Annotation Targets for the database object types that you can annotate.