Skip to content
AskTable

Documentation feedback

Current pageAI index/en/data/ai-search

0 / 5,000

Your feedback will be sent to the maintenance team.

Go to console
Go to console
AskTable
Go to console

Build agents

AI index

Index field values so abbreviations and casual wording in questions match actual data.

Users often ask with abbreviations or casual wording, while databases store full names. The AI index builds an index of a field's distinct values, so “Mate 40” in a question matches “HUAWEI Mate 40 Pro 5G” in the database.

Enable it only for text fields that need it: indexing takes time, and each data source can index a limited number of fields. It suits fields with a limited set of values that people often abbreviate, such as product, store, and customer names.

This requires a project owner or project administrator and an enterprise license. Private deployments must first deploy AI search.

Entry: “More” → “Data sources” → click a data source → choose a table → click a field row to expand the details.

Enable indexing for a field

Turn on the switch

Turn on the “AI index” switch at the top left of the field details. The system starts indexing the column.

Check the result

A status icon appears next to the switch: a green check means success, and a red cross means failure. Click the icon to open “AI index details” and view total records, indexed values, and distinct values; on failure, the reason is shown.

Rebuild for a whole data source

After changing indexed fields or major data changes, click “Build Value Index” in “Settings” → “Index maintenance” to reselect fields and rebuild the index for the data source. The data source must be available.

“Rebuild Embedding” in the same place fills in missing field semantic vectors and is unrelated to the value index.

Limits

ItemDefault
Indexable field typesStrings (varchar, string, char); long text, dates, and numbers are not indexed
Indexed fields per data source10
Distinct values per field50,000; indexing fails above this
Average field value length196 bytes; indexing fails above this
Single value lengthValues over 256 characters are not indexed

System administrators can change the field count and distinct value limits in “Settings” → “Data sources”.

Common issues

SymptomCauseAction
Red cross, distinct values over the limitThe field has too many valuesChoose a field with fewer values
Red cross, average length over the limitThe field is long textChoose a short text field
Turning on the switch says an enterprise edition is requiredNo enterprise licenseContact an administrator
Cannot enable in a private deploymentThe AI search service is not deployedConfigure it per Deploy AI search
Indexed values are 0The field contains only numbers, dates, or long textChoose another field
“Build Value Index” is unavailableThe data source is not availableWait for the sync to finish or fix sync errors first
Abbreviations still do not matchThe field is not indexed, or the field limit is reachedEnable indexing; turn off indexing on less-used fields if needed