Search tables let your AI query structured datasets. Unlike text-based knowledge that returns paragraphs, tables return specific records matching multiple criteria, for example products by category and price range, or customers by location and status.
Creating a Table
- Navigate to Tables and click Create Table
- Import your data as CSV, JSONL, or JSON
- Configure field types and search types for each column
- Click Verify data to validate
| Import format | Best for |
|---|
| CSV | Spreadsheet exports. First row must contain headers |
| JSONL | Database exports. One JSON object per line, preserves data types |
| JSON | Complete table definitions. Format: {"objects": [...], "fields": [...]} |
Field Types
| Type | Examples |
|---|
| Text | Names, descriptions, IDs |
| Number | Prices, quantities, scores |
| Date | Date only (2024-01-15) |
| datetime | Date and time with timezone |
| boolean | True/false values |
| JSON | Nested objects |
| Vector | Embedding vectors for semantic search |
| Array | Lists of values |
Search Types
Search types control how the AI can filter each field. Fields set to “Same as data type” are display-only (no filtering).
| Field type | Available search types |
|---|
| Text | Search text (full-text with partial matching), Select (single value, max 500 unique), multiselect (multiple values, max 500 unique) |
| Number | Range filter (min/max) |
| Date/datetime | datetime filter (date range) |
| boolean | Toggle (true/false filter) |
| JSON, Vector, Array | Display only |
Select and multiselect only work when a field has 500 or fewer unique values.
Sorting isn’t supported yet. The AI can filter records but can’t order results by a specific field.
Attaching Tables to AI
Configure your table as a tool so the AI can search it:
- Go to Behavior → Tools → Search Tables
- Click Add Search Table
- Set a Tool Name (for example,
search_products)
- Write a Tool Description explaining what data the table contains and when to search it
- Select your table and save
The AI generates search parameters from natural language questions automatically. Write clear tool descriptions so the AI knows when to use the table versus other knowledge sources.
Remember to enable the tool on the relevant guidance rules.
Updating Data
Importing a file replaces all existing data. To preserve your field configuration when updating:
- Export your table as JSON
- Update the
objects array with new data
- Re-import the JSON file
- Verify data and rebuild