Prepare a Category for AI

Prepare for AI is where an App Builder decides what the AI knows about a category: which tables and fields it may use, what they mean, and whether it may see any values. It is optional, but it is the biggest single improvement you can make to answer quality and cost.

Prerequisites

  • App Builder or Admin role

  • You can prepare a category before AI is turned on for the app. Your work is saved for when it is.

  • No AI provider yet? You can still scan and set fields. Only the drafted descriptions need a provider.

Open Prepare for AI

In App Builder, open the category and select Prepare for AI. You can also get there from Settings → AI Query → Apps.

The screen has three steps:

  1. Scan: reads each table on your server and suggests a setting for every field. Nothing is sent to the AI provider by scanning.

  2. Review: you turn tables on or off, hide fields, and choose what the AI may see for each field.

  3. Describe: you add a description of the category and up to five sample questions.

Tip: On a small category, Prepare everything scans every table and drafts all the descriptions in one step. Prefer to work table by table? Select Choose tables myself.

Step 1: Scan

Start the scan. On larger categories, scan the tables you have switched on in batches. Nothing is saved until you select Save.

Step 2: Review

Tables

The list on the left shows every table, with filters for On, To check, Off and All.

  • Switch off every table nobody reports on.

  • Give each remaining table a one-line description.

Fields

For each field, choose What the AI may see:

Setting

What it means

Use it for

Nothing

The AI sees the field's name and type only. The default.

Free text, IDs, anything sensitive

Check only

Values stay on your server. When a user types "West", DashboardFox matches it to how your data spells it.

Longer lists, such as customer or product names

Share values

Up to 50 values are sent with questions about this field, so the AI picks the exact spelling. On date and number fields this shares the range (earliest to latest, lowest to highest).

Short lists, such as status, priority or region

You can also supply your own list of values for a field instead of the stored ones.

To keep a field away from the AI entirely, hide it. The AI does not know a hidden field exists and cannot use it.

Important: Share values sends real values from your database to your AI provider. Use it only for fields where that is acceptable. If Strict privacy is on for the app, stored values are not shared.

Descriptions

Select Suggest descriptions to have the AI draft a description for each field. Drafts only fill empty boxes and are highlighted for you to check. Edit anything ambiguous by hand.

Step 3: Describe

  1. Write one or two sentences on what the category holds.

  2. Add up to five sample questions: the questions your Composers really ask. They appear in Ask AI as suggestions.

  3. Select Save.

If you have reviewed everything and changed nothing, the button reads Save as reviewed, which marks the category as prepared.

Keep It Current

App Builder shows each category's status: Not prepared, Reviewed, or the number of fields prepared. When fields are added later, the category shows a count of new fields. Open Prepare for AI, review them and save.

To change one field quickly, open it in the report tree. The field editor has an AI Options section with the same settings.

Remove a Category from Ask AI

From the category's menu:

  • Remove from Ask AI: users no longer see Ask AI on this category. Your preparation is kept. Add to Ask AI brings it back.

  • Clear AI preparation: permanently deletes the descriptions, field settings and sample questions. Fields you hid become visible to the AI again.

Best Practices

  • Fewer, clearer tables. Every table and field left on is sent with each question. Turning off what nobody uses gives better answers and lowers cost.

  • Say which date is "the" date. If a table has an order date and a ship date, describe which to use for "last month".

  • Explain codes and look-alike fields. Two amounts or two dates are the most common source of wrong answers.

  • Put business rules in formula fields, such as margin or "SLA met". Ask AI can use them.

  • Don't put data values in descriptions. Describe what a field means. Use Share values for the values.

  • Use Check only for long lists. It gives exact matches without sending the values.

Additional Resources