Enable it in Compose
Two steps: add an aisearch service, then tellasktable its address and key.
1. Add the aisearch service
Add this service to thedocker-compose.yaml from Private Deployment:
asktable over the internal Compose network, so you don’t need to expose a port.
2. Point asktable at it
Add two variables to theasktable service’s environment, and add it to depends_on:
docker compose up -d to apply.
Building and rebuilding the index
Once both variables are set, AI Search is truly enabled. Indexes are built asynchronously by a background task running on the existingasktable-redis queue — no extra component required:
- Per-field toggle: on the data source’s Data Overview tab, select a table and enable fields one by one in the “AI Index” column — see AI Index for usage and statistics.
- Whole-source build / rebuild: to rebuild all value indexes for a data source at once, click “Build Value Index” on the data source page.
By default only short string fields are indexed (not long text, dates, or numbers). The number of fields per data source that can have a value index is capped (10 by default) and adjustable in the admin console; the number of distinct values kept per field is also capped. These limits keep excessive indexes from slowing the system down or adding noise.
Next steps
- AI Index — how the feature works and which fields to pick
- Private Deployment (Docker) — deploy AskTable itself
