analystUpdated 2026-10-13

Agent Chat

Live Agent Chat workspace for the acme-demo project.

What this covers

Agent Chat lets a user ask questions about project data in natural language. It uses the project agent configuration, the approved model context, glossary terms, optional project-level personas, and judge rubrics to plan queries and explain results.

If a query, KPI evaluation, or named-set preview returns values from a tagged field, Agent Chat shows the governed result and a sensitive-data notice. It skips the AI summary and judge for that answer. The same safe display is used when the result's source columns cannot be verified.

Getting started

Ask "Who are you?" for the agent's configured role, "How can I use you?" for guidance and configured example questions, or "What does this model represent?" for the current model's purpose and analytical capabilities. If that context is missing or unavailable for your access, the agent says so.

Ask "What other models are available?" to list the models you can select in this project, with the current model marked and a short purpose where available. Select another model before asking about its data. These introductory questions do not run data queries.

How scope is chosen

The agent works at project level. A project can contain multiple models, but only models enabled for the agent are included in context. If a project-level persona is selected, the agent sees only the models, measures, and dimensions allowed by that persona. Model-level row security and persona rules still apply when a query is executed.

A conversation can be set to one model, for example from the model selector in the Excel add-in. The agent then answers only from that model. If that model is not enabled for the agent, the agent tells you so instead of answering from a different model; a modeller can enable it under Agent Setup, or you can pick an enabled model and ask again.

A saved conversation remembers the model and persona it was created under. If you open it while a different model or persona is selected, Tessallite starts a new conversation instead and tells you so. This keeps old answers honest about who could see them. To continue a saved conversation, select the same model and persona it was created with.

Conversation controls

Writing effective questions

Ask in business terms first: "What changed in April margin for EMEA?" is better than starting with table names. If the answer is ambiguous, add grain and filters: region, date range, merchant category, fiscal period, or persona. The agent can plan multi-step answers, but it is still governed by the semantic model; undefined measures need to be created in Model Builder first.

Select a deployed median or percentile measure normally. The assistant uses its declared aggregation for the returned value and filters on that value. Draft changes to the aggregation take effect after deployment.

If you have modeller or admin access, you can ask for an aggregate for named measures and dimensions. Chat submits the request to the Optimizer and shows the model, measures, grain, weight, and validation result when known. Each accepted request counts toward query demand, including repeated requests. The Optimizer applies its normal build rules later.

For time groupings, the answer may show a returned date or year and quarter under a shorter period label. When a label changes a returned value, the Diagnostics section shows the presentation rule once. The label changes how the result is displayed; it does not add a calculated measure.

Kinds of questions, with examples

The agent recognises the kind of question you ask and shows the answer in the way that fits it. You do not need to name the kind. Ask in your own words. The examples use a sales model: put the figures and fields of your own model in their place.

Kind of question Example How the answer is shown
One figure "What was revenue last month?" One large number.
Several figures side by side "Show revenue, margin and order count." A row of large numbers.
One figure split by a field "Revenue by region." A bar chart, one bar per region.
Several figures split by a field "Revenue and margin by region." Bars grouped per region.
The best or the worst "Top 10 customers by revenue." Horizontal bars, longest first.
Parts of a whole "What share of revenue came from each channel?" A pie chart when there are few parts and they add up to 100%. Otherwise bars.
One figure over time "Revenue by month." A line chart.
Several figures over time "Revenue and margin by month." One line per figure.
One figure over time, split by a field "Revenue by month for each channel." One line per channel.
One figure by two fields "Revenue by region and channel." Stacked bars, or a table when there are many cells.
A list of things that meet a condition "Which merchants sold more than 50,000?" A table.
The meaning of a word "What does net revenue mean?" The model's own definition, word for word. No query is run.

More kinds of questions

The agent also understands these. They are answered with the same charts, or with a table.

What you want to know Example
How something changed "How did revenue change versus last month?"
How you are doing against a target or plan "How are we doing against budget?"
One figure divided by another "What is our average order value?"
How many different things "How many customers bought last month?"
Two named things compared "Compare online and in-store sales."
A pattern in the calendar "Which weekday has the highest sales?"
A total that keeps adding up "Show cumulative net sales by month."
A smoothed trend "Show the 3-month moving average."
The best within each group "Top 3 categories in each channel."
Values far from the usual "Which merchants have unusual sales?"
Things that did not happen "Which merchants had no sales in April?"
How fresh the data is "How up to date is the sales data?"

Figures from different lines of a model

A model can hold several lines of figures, for example payments and targets. You can ask for figures of two lines together, such as "Show settled amount as a percentage of target amount by month". This works when both lines are recorded by the field you ask for. See Questions Across Fact Groups.

What is always true

Changing how a kind of question is answered

A modeller can change the chart, the instructions and the wording used for each kind of question, and can add new kinds for a project. This is done under Tenant Administration, Projects, your project, Project settings, Conversational agent, Query shapes. See Query shapes.

Mathematical calculations

Ask for a calculation in ordinary language. Name the model field, the operation, and the grouping you want. These examples also apply to the Excel Ask pane. Replace the example field names with fields in your selected model.

What you wantExample questionWhat to check
A positive size, ignoring the sign"Show the absolute value of net adjustment by month."An adjustment of -12 has an absolute value of 12. This does not change the stored adjustment.
Rounded figures"Round revenue to two decimal places by region."Rounding changes the returned calculation, not just its display format.
A square root"Show the square root of total units by product."A total of 81 gives 9. A real square root needs a non-negative input.
A power"Show total units squared by product."A total of 9 squared gives 81. Say whether to square the total or each underlying value: they are different calculations.
A logarithm"Show the natural logarithm of revenue by month."Natural logarithms use base e and need a positive input. Ask for "base 10" when that is what you mean.
A trigonometric value"Show the sine of the angle in degrees by sample."State degrees or radians. For example, the sine of 30 degrees is 0.5.

The agent asks the governed query services to calculate the result; it does not work out the answer in chat. Your model's access rules still apply. Open the answer's trace to check the fields, grouping and filters used.

For a calculation you want to reuse in reports, ask a modeller to define a calculated measure. For example, defining a ratio once avoids different reports using different denominators.

Random values

Ask "Return a random value between zero and one" for a query-time random value, or specify a normal distribution's mean and standard deviation when you need one. A new execution can return a different value; random values are not stable identifiers, saved business facts or reproducible report baselines. Persistent seed controls are not offered.

If a calculation cannot be answered

Check that the named fields exist and that their values suit the operation. Division by zero, the logarithm of zero, or a real square root of a negative number needs a business rule, not a guessed answer. State the intended handling, such as excluding zero denominators. Function availability also depends on the connected source. The answer should explain a failure rather than substitute a different calculation.

How ambiguous terms are resolved

Sometimes a word in your question could mean more than one field. "The UK" could be the customer's country, the other party's country, or the country of the bank account. The agent picks one field, in this order:

  1. A field with exactly that name.
  2. A glossary term with exactly that name.
  3. An alias that an administrator mapped to a field.
  4. The field whose description is closest to your question.
  5. The glossary entry closest to what you seem to be asking.
  6. If several fields still fit equally well: the field it used for the same word earlier in this conversation; then the field with the shortest name, comparing the start of the name first and the end second; then the first one in alphabetical order.

The agent asks you a question only when none of the fields can answer at all.

It never adds the other fields as extra columns or filters, and it uses the same field everywhere in one answer, in the grouping and in the filters alike. When it had to choose, the answer tells you in one sentence which word it interpreted, which field it used, and which other fields could also fit. If that is not what you meant, name the field you want in your next question.

Amounts in more than one currency

Some money or payment amounts are recorded in several currencies. The agent recognises this when the glossary definition of a currency field says it gives the currency of that amount. Adding such amounts across currencies does not give a meaningful total, so the agent:

  1. uses the amount as it is when your question already groups or filters by currency;
  2. otherwise uses a matching amount in one stated currency, such as an amount converted to a base or reporting currency, when the model has one;
  3. otherwise uses the original amount, and the answer tells you the figure adds different currencies, shows it without a currency symbol, and suggests breaking it down by the currency field.

To get figures you can compare, ask for the amount by currency, or ask your model administrator to add an amount converted to one currency.

Reading time ranges and comparisons

A row grouped by year can add up many days. The year label is not the date range. Check the filters in the answer's trace to see which days were included.

When you ask for category totals and a comparison with their average, the totals stay visible. The comparison uses the complete set of totals. If the result is incomplete, the answer explains that it cannot establish the comparison from those rows.

If you ask for a fixed baseline divided by each category total, the answer keeps that ratio. If you ask how many average-sized rows make up a total, it keeps that meaning too. Tessallite only replaces an unsafe average-across-categories plan when both sides cover the same dates, filters, and people or records. If they do not match, it refuses the substitution instead of answering a different question.

When to switch to Model Builder

Use Agent Chat for exploration and explanation. Switch to Model Builder when the answer reveals missing semantics: a measure needs a clearer definition, a dimension alias is confusing, a glossary term is missing, an aggregate is needed, or a row-security/persona rule blocks the intended audience.

Related

See the supported-function reference for complete lists, worked examples and the rules for each expression type.

The channel comparison shows which text, date and logical functions the Agent can call directly and when to ask for a published model field instead.