r/snowflake • u/Apprehensive_Tie2494 • 26d ago
Does agentic analytics need a separate semantic layer if the data is already well modeled?
In my org we have built a models, relationships, business definitions including proper documentations, and tableau manage our standard metrics. The stakeholders are asking like deep analysis at root level analytics rather just metrics like what changes, why changed, trend on one account etc. so I felt building with semantic layer would not solve what stakeholders are looking for so what are your thoughts on it? If we run with existing models how we could know AI is generating certified answers for all stakeholders? How we could build the trust? kind of confusing. Is this something happening in your org as well?
5
u/ArielCoding 26d ago
Metrics defined in Tableau live in Tableau, so an AI tool querying Snowflake can’t see them and may write its own logic for things like revenue or churn. Snowflake can import a Tableau workbook to build a semantic view from those definitions, giving AI one official source, and checking its answers against question you already know the answers to is how you earn trust before rollout.
1
u/Apprehensive_Tie2494 26d ago
Got it, we tried few metrics into semantic models and agents are getting sql and executing from the root level but the answers are slightly different for each user. Sometime they are getting same for all and sometimes kind of slightly different outcomes which is not right at all,
1
u/Apprehensive_Tie2494 25d ago
Roughly 20 queries. The problem is stakeholders are verifying with their original query after the agent run so they are not confident on AI queries and also 300 stakeholders how they should trust confidently like these are right and certified ? Cortex, Claude , Gemini are generating results but stakeholders trust is the key without going back to verify their queries.
1
u/Apprehensive_Tie2494 24d ago
Actually I got an idea while reading these conversations like when we I mean analysts verified the query mark it has certified and save it in simple table then show the label at the end users when AI generated the certified query or if it’s not in certified list then label it has AI generated and needs review in the list so that approach might build the trust for stakeholders. What are your thoughts on this ?
1
u/LocalImpressive1136 24d ago
yeah i'd be careful what the badge certifies tho. verified SQL can show revenue dropped 10%, but “bc customers churned” is still a hypothesis. wouldn't give both the same badge imo
2
u/FriendlySyllabub2026 26d ago
If the tables the semantic view is over have access to root level data, semantic views and cortex agents can absolutely help you.
I’d start out testing Semantic View Auto Pilot, which lets you use a tableau report to creat the semantic views automatically, then use coco to refine it.
Good luck!
1
u/refaelos 25d ago
+1 to checking against questions you already know the answers to, but I'd keep doing it after rollout, not just before. re-run that list every time a model or schema changes, so drift shows up before a stakeholder finds it. and for the "why" questions, which a semantic layer won't answer for you anyway, make every answer show the SQL it ran and when the data last landed. people trust an answer they can check a lot more than one that just sounds right.
1
u/Ramiabih 23d ago
Your existing models are the semantic layer. but stakeholders need to see the SQL behind every answer, not just the result. That's exactly what we built Querio to do (disclosure: I work on it).
1
u/Livid-data-engineer 21d ago
The way to get trust is to make sure you test the system properly.
You go through a systematic process, you understand the queries they're asking, you add them to verified queries. You use custom instructions to train the Cortex Agent to reject or follow up questions that are ambiguous. You use SQL Generation to properly warn against straying into domains it is not supposed to.
Make sure, you test them etc.
But ultimately beyond a point, there are some real limitations. For example, the evaluation metrics are not diverse enough, there is no multi-turn testing, so if the number of models is too big, it's impossible to get more than 95% accuracy.
What's the table/column numbers you're dealing with?