Point it at one source
Its runs drew on different sources.
What points here
Its wordings split at the source: right and wrong runs used different tables or models.
Why it happens
When more than one source could answer, the agent can choose differently from run to run, and the sources may disagree: a raw table and a curated model, or two tables at different levels of detail.
What to try
- Whatever the source: take out of the agent any source that shouldn't answer, so there is one choice.
- Semantic model: it can't be told which source to use, because agent instructions are ignored. Give the model and its tables clear descriptions of what they are for, and keep a raw table and a curated model out of the same agent.
- Lakehouse or warehouse: say in the agent's instructions, and in each data source's description and instructions, which source answers which kind of question. An example query shows the pick.
- Genie: say it in the space's text instruction, and keep only the tables it needs.
- If two sources should agree and don't, fix that in the data, not in the agent.
How you'll know
Every run of the question should now draw on the same source and give the same right number.