Fire In Belly

Conversational Analytics for Internal Teams: What to Define, Enforce, and Test Before Anyone Asks the Data a Question

14 min read

Close-up of a monitor showing coloured line charts on a dark blue background

Most data platforms now come with a chat box. Databricks has Genie, Snowflake has Cortex Analyst and Cortex Agents, Looker has Conversational Analytics, Power BI has Copilot, and Tableau, ThoughtSpot, Omni, and Sigma all ship something similar. Many of them can also be reached from Claude or ChatGPT. Turning one on for the sales, finance, or operations team takes an afternoon, and the first demo usually goes well.

The trouble starts a few weeks later, when someone asks a question the demo didn't cover and gets a confident number that is wrong. This guide is for the operations lead, data lead, or AI program owner at a 50-to-1,000-person company who has to roll one of these tools out, or build one. For the plumbing of wiring a model to a database, see our guides on connecting internal databases to AI and running AI-generated SQL safely.

The short answer

  • These tools rarely fail because they write bad SQL. They fail because they guess what your business terms mean.
  • Before launch, write down the 20 to 40 terms people actually ask about, such as revenue, active customer, pipeline, and this quarter, and give each one an owner.
  • Enforce permissions, row-level scope, and required filters in the semantic model or the database. Don't rely on instructions for them.
  • Test on real questions that the tool was not taught, and rerun the test after every change.
  • Send refusals and disputed numbers to the definition owner, and turn the questions people ask every week into scheduled reports.

What conversational analytics is, and why valid SQL is not enough

Conversational analytics means letting people ask questions of company data in plain language and get back a number, a table, or a chart. Underneath, the tool turns the question into a query, usually SQL or a query against a semantic model, runs it, and explains the result.

Writing the query is mostly solved; knowing what the question means is not. Take "What's my open pipeline this quarter?" Salesforce gives this example in its write-up of rolling out Tableau's analytics agent internally, and the agent has to guess whether pipeline means every open opportunity or only qualified ones, and whether the quarter is calendar or fiscal. Salesforce reports that before it added governed definitions, the agent was only 30 to 45 percent accurate. After it added semantic models, business preferences, and verified questions and answers, and evaluated 200+ real user questions over several rounds, pre-launch accuracy rose above 85 percent. That is a vendor on its own product, but independent work agrees.

An April 2026 benchmark of semantic layers for LLM analytics tested three frontier models on 100 questions over a retail dataset. Each model answered twice, once with only the warehouse schema and once with the schema plus a 4 KB hand-written document describing the measures, conventions, and disambiguation rules. The document added 17 to 23 percentage points for every model. With it, the three models scored 67.7 to 68.7 percent and were statistically indistinguishable, and without it they were also indistinguishable at 45.5 to 50.5 percent. The authors' reading is that the semantic document, not the choice of model, accounted for the difference.

One data engineer wrote on X that a query "can be syntactically perfect and still be wrong on meaning: metric definitions, joins, and time windows." Another reported that adding certified definitions moved questions that depended on meaning from 2 of 14 correct to 6 of 14, while questions where the column names were enough stayed at 10 of 10. These are individual reports, but they explain why demos look perfect: demo questions are the ones where column names are enough.

Academic benchmarks show the same gap. The Spider 2.0 paper built 632 tasks from real enterprise databases, many with over 1,000 columns, and found that its best agent, built on o1-preview, solved 21.3 percent, against 91.2 percent on the older Spider 1.0 and 73.0 percent on BIRD. Scores have climbed since: on the Spider 2.0 leaderboard, the variant that ships with well-prepared metadata and documentation now has a top score of 96.70.

Is your company ready? Four checks

You don't need a large data team, but you do need four things in place before business users get the tool.

Owned definitions for the terms people ask about. List the questions your teams already send to the data person. A few weeks of Slack messages and ticket history is usually enough. Pull out every business term in them and write a one-line definition for each, with the filters it implies. Revenue might mean invoiced, excluding refunds and internal accounts. Active customer might mean at least one paid order in 90 days. Then name an owner who can change the definition: finance for revenue, sales operations for pipeline. If two teams define the same word differently, settle it now. Otherwise the chat tool will settle it for you, a different way each time.

A curated dataset for each domain. Point the tool at a small, clean slice of the data, not the whole warehouse. Databricks tells Genie authors to treat the tool like a new analyst, write clear table and column descriptions, and pre-join or simplify tables into views or metric views. Google's Looker guidance says to hide technical fields such as raw IDs and foreign keys. It also recommends building focused agents, each connected to up to five closely related Explores, rather than one agent for all company data. It also flags messy values, such as a status column holding both complete and COMPLETE, which should be cleaned at the source.

One person who owns the tool. Someone has to review what people ask, fix definitions, and decide when a new team can use it. In a mid-size company that is often your one analyst, given a few hours a week.

A test set before launch. This is covered in its own section below, because it is the step most teams skip.

If you can't do the first check, write the definitions before you buy anything. Your dashboards benefit too.

Enforce outside the model, guide inside it

Every platform gives you two kinds of control. Some are enforced by the system: the semantic model, database roles, row-level security, and validation rules. Others are guidance the model tries to follow: instructions, synonyms, and examples. Put permissions, row-level scope, and required filters where the platform or database enforces them, because exact metric definitions alone still leaked data across access boundaries in research tests.

Vendors say this themselves. Microsoft's documentation for Power BI AI instructions states that the model only interprets them and there is no guarantee it follows them exactly. Google's Looker guidance puts hard requirements, such as default filters and hidden fields, in LookML rather than agent instructions.

Research shows why this matters for access. The July 2026 GROUND paper compared four ways of giving a model context for enterprise reporting questions, all on the same model. In one, the model got exact metric definitions but no enforced access policy. It got the metrics, grain, and required filters right, and still returned data outside the user's permitted scope on 35 percent of synthetic questions and 33 percent of questions on real public vehicle-safety data. The version that checked every query in code against the user's access predicate and the required filters had zero violations across four models from three providers. That came at a cost of roughly five times the tokens and about 1.3 times the latency of the simplest approach. The paper is one study with its own benchmark, but its lesson is clear: definitions tell a model what to compute, and they don't stop it from showing someone data they shouldn't see.

In practice, sort your rules into the two groups before launch:

RuleWhere it should liveWhy
Who can see which rows, such as region, customer, or teamDatabase roles or the platform's row-level security, bound to the signed-in userMust hold even when the question is phrased creatively
Required filters on a metric, such as excluding refunds or internal accountsThe metric definition in the semantic modelChanges the number if dropped
Approved join paths and grainThe semantic model or curated viewsPrevents double counting
Query cost and row limitsDatabase or platform limitsProtects the warehouse budget
Synonyms, such as "clients" meaning the Accounts tableField metadata, with instructions as backupHelps matching but isn't safety-critical
Default time range, tone, and suggested follow-upsAgent instructionsLow cost if occasionally ignored

Two cases need special care. First, if people can query the same data from Claude or ChatGPT through an MCP server, check that those queries go through the same semantic model and permissions as the native tool and not a thinner path straight to the tables. Omni's buyer guide raises the same question for every vendor. Second, if you build a custom tool, put the controls in a query broker between the model and the database, as our SQL safety guide describes.

Test on questions the tool was not taught

Every platform lets you teach the tool with verified examples. Databricks calls them trusted assets: parameterized example queries and Unity Catalog functions whose answers are marked as trusted when used. Power BI has verified answers (in preview), tied to a visual and triggered by phrases, with up to three filters users can adjust in their question. Snowflake keeps a Verified Query Repository of questions paired with SQL, with fields recording who verified each one and when.

Verified examples are the most reliable way to improve answers to common questions. They also create a trap. If you test the tool on the questions you taught it, it will pass, and you'll learn nothing about the questions nobody anticipated. Snowflake's evaluation feature is designed around this. When you pick verified queries for an evaluation run, it removes them from a temporary copy of the semantic view before generating SQL, and the documentation says a verified query can guide answers or serve as ground truth, but not both at the same time.

The rule holds on any platform, including a custom build. A verified question that teaches the tool cannot also grade it, so keep a held-out set of real questions signed off by the metric owner and rerun it after every change. In practice:

  1. Collect real questions. Use the ones from your readiness inventory, phrased the way people actually wrote them, including the vague ones.
  2. Split them. Use some as verified examples. Keep the rest, at least a few dozen, in a held-out set that is never added to the tool. Omni suggests starting with ten test questions, which is a reasonable first pass, but ten held-out questions won't show a change in accuracy reliably.
  3. Get answers signed off. The definition owner, not the person configuring the tool, confirms the correct answer for each held-out question.
  4. Include questions that should be refused. Add some that use an undefined term, ask for data the test user isn't allowed to see, or are too ambiguous to answer. The right result is a refusal or a clarifying question.
  5. Rerun after every change. That means every new definition, instruction, model version, or platform update. Snowflake's evaluations track regressions, meaning questions that used to pass and now fail. Track the same thing in a spreadsheet if your platform doesn't. Our guide to regression testing AI workflows covers the routine.

Expect the refusal questions to be the hardest. In the GROUND paper's adversarial tests, the strongest model it tested answered a "year-over-year change" question by inventing a growth formula instead of saying the metric wasn't defined. It did this on all three runs, even with the enforcement layer in place, because recognising an undefined metric is a judgement the model has to make, not a rule code can check. So measure refusals separately, and don't let a high overall score hide them.

Use refusals and complaints as the backlog

Once the tool is live, three signals tell you where definitions are missing: the tool refuses or asks a clarifying question, it answers with something the user thinks is wrong, or a user rephrases the same question several times. Treat every refusal, clarification request, and disputed number as the definition backlog with a named owner, and move the questions people ask every week into a scheduled report.

Some platforms help with this. Snowflake suggests verified queries (a preview feature) based on usage and query history for a person to review. Power BI lets you mark a semantic model Approved for Copilot (in preview), and answers from models that aren't approved carry a message telling users to check results carefully and contact the content owner. Use that flag deliberately: approve a domain only once its held-out set passes, and leave the rest marked.

Keep instruction text short. Databricks warns that too many instructions reduce effectiveness and caps each agent at 100 instructions. Google warns that free-form instructions go stale as the data model changes. When a fix can be a definition in the semantic model, make it there.

Some questions shouldn't be chat questions

A chat tool is best for the long tail: the one-off question a manager has on a Tuesday afternoon. It is a poor home for the numbers that go into a board pack or a weekly operations review. Those should come from the same definition every time, reviewed once, and delivered on a schedule.

So look for repeats. If the same question comes in every Monday, build it as a scheduled report from the same semantic model and point people there. This is our recommendation, not a vendor rule: each conversational answer is generated fresh and can vary, while a scheduled report can't. Omni also notes that chat drives far more queries per person than dashboards, so this helps the warehouse budget too.

Platform-native tool or custom build

For most mid-size companies, the right first step is the tool that comes with the platform you already use. If your data lives in Databricks, Snowflake, BigQuery with Looker, or Power BI, its built-in tool inherits your existing permissions and semantic model, and the work in this guide is configuration, not software.

A custom build makes sense in a few cases:

  • The data spans systems no single platform covers, and you don't want to move it first.
  • The answer has to land inside a workflow, such as a ticket or an approval step, not a chat window.
  • You need checks the platform doesn't offer, such as validating every query against an access policy before it runs.
  • The question is answered by an action, such as "which orders are late, and draft the customer emails."

If you build, the readiness checks still apply and you own the enforcement layer. Budget for the definition work either way; Omni calls the modeling work, not the AI feature, the real implementation cost, a vendor claim that matches where the research says accuracy comes from.

A worked example

The following is an illustrative example, not a client case. A 300-person wholesale distributor runs its reporting on Snowflake, and the commercial director wants account managers to ask about their own customers in chat.

The data lead goes through two months of the commercial team's Slack questions and finds 31 business terms. Finance owns revenue and margin, sales operations owns active account and pipeline, and the two teams agree on one definition of margin before anything is configured. The semantic view covers orders, invoices, and accounts only, with internal test accounts excluded in the definition rather than in an instruction. Row access policies in Snowflake restrict each account manager to their own territory, using their signed-in identity.

The data lead writes 60 test questions in the team's own words. Twenty become verified queries. Forty go into a held-out set, eight of which should be refused, including "margin by supplier," because supplier margin isn't defined yet. The finance and sales operations owners sign off the expected answers. The evaluation runs before launch and again after every change. The three questions the commercial director asks every Monday become a scheduled report instead. Refusals go to a shared queue that the data lead reviews on Fridays.

What to do next

Write one page for the team you want to start with. List the terms they ask about, who owns each definition, the dataset the tool will see, which rules are enforced and where, and the held-out questions you'll test against. If you can't name the owners, start there. The chat tool can wait.

If you'd like help, our AI audit reviews a planned rollout, its definitions, and its controls before launch. When a question needs to land inside a workflow rather than a chat window, AI workflow automation is where we build it, on your platform and in your accounts.


About Fire In Belly: Independent senior engineering from Tallinn, Estonia. We design and build custom AI agents, AI workflow automation, and internal tools with the semantic layers, verified queries, and evaluation sets for data agents described above, at published fixed prices. Schedule a call to discuss your next project.