Blog

Grounding AI assistants in your own data

An assistant is useful at work when it answers from company records and shows which ones. What grounding means and how to tell whether you have it.

A language model knows a great deal about the world in general and nothing about your customers. Grounding is the set of techniques that make it answer from your data instead of from its general knowledge.

Retrieve, then write

The basic pattern is simple. When someone asks a question, the system first searches governed data for relevant records. It then passes those records to the model with an instruction to answer only from them. The model’s job is to read and summarise, not to recall.

Why resolution comes first

Retrieval is only as good as what it searches. If "Layla Haddad", "L. Hadad" and "Leila Haddad" are three separate records, a question about her returns a third of the picture, or three conflicting ones. Resolved entities give the assistant one profile to retrieve.

Citations are the point

A grounded answer links every statement to a record. That does two things. It lets the reader check anything that matters. And it gives the system a way to check itself: a sentence with no supporting record can be removed before the answer is shown.

Permissions must apply to retrieval

If the search runs with broad access and the answer is shown to a user with narrow access, the assistant becomes a way round your controls. Retrieval has to run as the user, so that restricted records are never fetched.

Saying "I do not know"

An ungrounded assistant always has an answer. A grounded one should be able to reply that nothing relevant was found. That reply is a feature, and users learn to trust the system more for it.

How to tell whether an assistant is grounded

  • Ask about something you know is not in the data. Does it decline?
  • Ask about a restricted record as a user without access. Does it stay silent?
  • Open a citation. Does the record actually say what the sentence claims?
  • Ask the same question twice. Are the facts the same?

Where generation helps most

Summarising a long case history, drafting a narrative for review, explaining an alert in plain words, turning a question into a query. In each case a person reads the result and remains responsible for it.

See how Inselu Assist applies these ideas, or read Getting your data ready for AI.

See it on your own data

Bring a sample from two or three systems. We will connect it in a working session and walk through what appears.

Keep reading

All articles

Blog

What a good audit trail contains

An audit trail is useful only if it can answer the questions a reviewer will actually ask. A practical list of what to record.

21 October 20262 min read

Blog

Your data does not need to be clean first

Waiting for perfect data is the most common reason connected-data projects never start. Here is why you can begin with what you have.

18 November 20262 min read