Ask a general-purpose chatbot "what is our total reserve on open fire claims?" and you will get a confident number. Whether it came from your data is another matter. InsightAsk is built on a stricter rule: an answer is either computed from your data, quoted from your documents, or refused. This article explains how it decides which.
Every answer comes from one of three planes. Facts: typed tables queried with SQL, which is the only place arithmetic can be trusted. Documents: retrieved passages, with every number in the answer required to appear in the passage it cites. Catalogue: what is in scope. A model may help write a query, but never does the arithmetic; a question the documents cannot support is refused.
Facts: computed, by the database
Aggregates, comparisons, rankings and anything with a denominator belong to the facts plane. Tables are profiled and typed when a Space is built: which columns are identifiers, dates, measures and dimensions, what values they hold. A question is turned into SQL against those tables, validated and run, and the answer carries its query. The model may help write the SQL, but it does not do the sums. A sum is the database's sum.

Documents: quoted, and checked
Questions about what a document says (a policy wording, a guideline, an adjuster's note) are answered from passages found by a hybrid search over the text InsightAsk has extracted. The model writes the sentence, and then the sentence is checked against the passage it cites: every number in a composed answer must appear verbatim in the grounding material, and rounding counts as altering. An answer that fails the check is not shown as an answer.
Catalogue: what is in scope
"What is in this folder?", "how many submissions came in last month?", "which files couldn't be read?" are questions about the scope itself. The catalogue plane answers them from the list of files, their classes and counts, and what was skipped and why, without reading any document.
Data, documents or both: how a Space routes a question
Which plane is tried depends partly on the Space. A data Space always answers with SQL over its tables. A documents Space answers from its passages. A hybrid Space holds both, and its Answer from setting decides: Data only, Documents only, or Documents and data. With the last, a short model call reads the question and the Space's table names and says whether it needs the tables, the documents or both; if that call cannot decide, both are asked.
When both run, they run side by side, and one final step writes a single answer under fixed rules: lead with the figures from the query, add what the documents contribute with their citation markers kept, take every figure from the query results and every statement from a cited passage, and say so plainly if the two disagree. If the tables cannot answer but the documents can, the document answer stands on its own.
Refusal is an answer
When the facts plane cannot serve a question it is not forced through; it moves to documents. When the documents do not contain the answer, InsightAsk says it cannot answer from the sources in scope. That outcome is treated as correct, and InsightAsk's own evaluation scores refusals as such.
Why not let the model do it all?
Language models are good at reading and phrasing and unreliable at arithmetic over many rows, especially when the rows have to be filtered by who is asking. Splitting the work keeps each part where it is strongest: the database adds, the passage supplies the words, and the model connects the question to the right one. It also makes answers cheaper: a question the catalogue can answer reads nothing at all.
What the reader sees
| Answer from | Shown with | How to check it |
|---|---|---|
| Facts | The SQL that ran, and the denominator: how many items the figure is over | Run the query yourself in Explore |
| Documents | Citations to the passages used | Open the cited passage; the numbers are there verbatim |
| Catalogue | The listing it counted | Browse the same scope in Explore |
| Refusal | That the sources in scope do not answer it | Widen the scope, or add a source |
Where a question covers many folders, the answer states its denominator and the reader's entitlement, for example that two of forty-four folders state something and that you can see all forty-four, so a figure cannot quietly cover less than it seems to.

Three questions, traced
An illustration with made-up data: a hybrid Space for a fictional insurer's claims team, holding a claim table and a folder of claims-handling guidelines.
| Question | Route | What comes back |
|---|---|---|
| "Total reserve on open fire claims?" | Data | A figure, the SQL that produced it and the row count it covers |
| "When must a large loss be escalated?" | Documents | The guideline's rule in a sentence, with a citation to the passage |
| "Which open fire claims are above the escalation threshold?" | Both | The list from the query, the threshold quoted from the guideline, both cited |
The third question is where most assistants go wrong: the threshold is in a document and the claims are in a table. Here the threshold must appear in the cited passage, the list must come from the query, and if the guideline were silent the answer would say so rather than assume a number. A fourth question, "will this claim go to litigation?", has no grounding in either source and is refused.
Questions people ask about this
Is a refusal a failure?
No. It is the correct outcome when the sources do not contain the answer, and InsightAsk's own evaluation counts it as such. A refusal that should have been an answer is a signal to add a source, an example or a glossary term.
Can someone check a figure without trusting the tool?
Yes. A data answer carries its SQL, which can be run by hand in Explore against the same connection; a document answer carries its passages. Both can be checked by someone who never used the Space.
How do I tune the routing?
If a hybrid Space keeps sending a kind of question to the wrong side, set Answer from explicitly, or split the content into a data Space and a documents Space. Verified examples and a clear Space description also help people ask the right Space.
Next: inside the SQL engine.


