Skip to main content
Connect apps

Table connector

Host structured tabular data such as XLSX and XLS for agents to query table schemas and content.

The Table connector manages structured tabular data. After a table is imported, the platform parses it, and an agent uses the automatically generated tool to obtain the table schema and then query the data accordingly. Like the File connector, it requires no credentials from an external system.

Create a connector

1

Open the connection dialog

On the Apps page, find the Table connector card and click Connect.
2

Enter the basic information

FieldRequiredDescription
Connector nameYesUse a name that is easy to recognize. Up to 64 characters
Connector descriptionNoDescribes the table content and its purpose, for example, monthly sales reports and customer ledgers
3

Confirm the storage location

Storage location currently offers only one option, Use platform storage. Select it and continue. Data is stored in the storage space provided by Alibaba Cloud Model Studio, with a quota of up to 200,000 files and 1 TB, free for a limited time. For details, see Quotas and Limits.
4

Confirm creation

Click Confirm. After creation, the connector type cannot be changed.

Automatically generated tools

After the connector is created, 1 tool is generated automatically:
ToolFunctionInput parameters
Get table schemaRetrieves the schema of a table file by the ID of the table filetableId (string): the ID of the table file
fuzzyTableName (string): the table name, which supports fuzzy matching
Neither input parameter is required. Pass tableId when you know the specific table ID, and pass fuzzyTableName when you only remember the table name or need to look it up by name.
Get table schema returns field definitions, not the data rows in the table. An agent typically uses it first to learn which fields a table has, and then decides how to query it.

Supported table formats

XLSX and XLS formats are supported.
Importing CSV, JSON, and YAML formats directly is not supported. Convert them to XLSX or XLS with Excel or another tool first, and then import them.

Import data

Tables are also organized by category, and the import methods are the same as for files. See Categories and Import data on the File connector page.

Differences from the database connector

Both handle structured data, but they make different trade-offs:
Table connectorDatabase connector
Data locationA copy is uploaded to the platformStays in the original database
Data freshnessA snapshot taken at import timeReal time
Suitable scenariosOne-off reports and offline ledgersBusiness data that changes continuously
Preparation requiredNo external credentialsA database instance that is reachable over the network
When data changes continuously, prefer the database connector.