Semantic Models Grew Up: Building the Context Your AI Agents Need

Transcript
Alright. So here we are for the semantic modeling webinar. My name is Matthew Burgos. I am a strategy consultant here at InterWorks. I'm a cloud certified architect, for the foundation certification that they offer. I've previously led data modeling efforts, mostly in the supply chain and retail service industries, and really excited to just, you know, walk through what my experience has been over the last five years and how rapidly... What semantic modeling means and how they're constructed has changed with all of the new tools that we have at our disposal. So we'll be going over eight different parts today. I'm going to lead us off with a poll question first, but then we're gonna go into a Claude demo and do a little bit of experimentation on asking Claude questions both of a bronze layer versus a gold layer of data that I prepared. It is a fictional company called Burgos HVAC that is dealing with HVAC installation and repairs, so just a little bit of context there. We'll highlight a little bit about what's changed in the last five years around semantic modeling and what are some of the additions that we should be considering today. We'll talk a little bit about where to begin, especially for organizations that may be a little bit early on in their journey. We'll talk a little bit about what is going into the model, our metrics, our business logic, their inputs. Talk about dynamic metrics and relationships, comments and tags, and how to use those in our cloud data warehouse tools, and a little bit about who benefits, and then we'll do some takeaways and q and a. So I hope that sounds great to everybody here on the call. And so we'll go ahead and get started. And I think for now, most of us have heard about context and using it within AI models, and we've probably all stumbled into a a part where we're either asking Claude a question or working on something, and we don't get the right answer. And, really, I think most of us understand now that Claude is only as good as the context that you give it. And so how we model our data for our business or our organization is gonna help us allow AI to give us not only better answers, but also if we think about the gen tech workflows, help those work more efficiently and get to the correct outcomes as well. And so before we get into the cloud demonstration, I'd like to go ahead and do a poll here. So for everyone that's on the call today, if you asked an AI agent a business question against your data warehouse today, how much would you trust the answer? So a, I'd use it as is. There's a screen that popped up. I can't see. B, I check it before sharing. C, I just see what's wrong until proven otherwise. Or d, we haven't tried it yet. Alright. Got quite a few folks that are going in. Got some. Got quite a few. We haven't tried it yet. We have zero. I'd use it as is, which is good. Right. And I think we are good there. Awesome. All right. So I guess for those, we got 58% of the folks that answered said that they would check it before sharing it. 25% would say, I'd assume it's wrong until proven otherwise, and 18 haven't tried it yet. Awesome. Well, that is really interesting to hear. I think I could click share results there. Stop sharing that. And so, really, as as I get into this, I kinda wanna prep this a little bit about what I would... I'm going to ask Claude here about our bronze layer. So gonna ask it, what was our labor cost for the Southeast Region this year? And so we have the same question that we're gonna ask two different layers of data that I have prepared. So this is just synthetic data that is sitting in our Snowflake sandbox. One is a collection of just our bronze layers. If you think about our medallion architecture bronze, it's just data that we've ingested. Maybe I've got something that is connected from my ERPs and field services, CRM, but not a whole lot of stated metrics in there. Right? It's just the raw data that I have from my source systems. And I'm gonna ask that same question, to our gold semantic layer. So if I can, I'm going to go ahead and switch my screens on over here. So you could see I've got my bronze layer webinar chat already pulled up. I have the question here. What was our labor cost for the Southeast Region this year? I'm gonna go ahead and send that question off. I could see that I've got connectors here that we've got. I've got my Argos HVAC bronze layer connector that is going through. And what I wanna draw your attention to is, number one, the amount of time that it's taking to get to this answer. Right? Seems like a pretty straightforward question to ask my data, and it's going through and having to calculate quite a bit on its own. Doesn't really have the context necessarily of how do I calculate my labor cost, what are some of the other dependencies that are there, and having to, again, work through all of that reasoning on its own. So use case here is just asking a question of our data. But if we could think about this in terms of an agentic workflow, let's say that I'm doing labor planning and I have a 100, you know, air conditioners to install over the next three days and I'm expecting it to come up with a specific labor plan, the amount of accuracy that is needed to ensure that I have the staff to serve my comfort... Customers is gonna be a lot more important than just asking a question here. So now we have the answer. So it's saying, hey. For Southeast labor cost for 2026, it's about 2,250,000. It's giving it how it calculated it, but what's not included is, hey. I... I'm not sure. This is just wages only. Right? So it's making an assumption here, something that an end user or myself would have to go back and and understand. And while we're here in the bronze layer, I can also ask it another question to say, what was our first time fixed rate this year? I'm gonna ask another question here as well. Again, for my fictional company, it's really important that we go and we fix things the very first time that we go out to a customer's address. And, it's having to go through and do a lot of heavy lifting in terms of being able to understand the data, understand what are the relationships that we have, how do we define that fixed rate, what tables is it stored at. And, again, we'll continue to see some of the answers that it's pulled up here. So now it's giving me a a couple of different numbers. And, again, it has no first time fixed field, so it derived it itself. So Claude is assuming quite a bit in terms of how that metric is calculated and getting a good understanding of, you know, the assumptions that it's that it's made there. So I'm gonna stop sharing my screen one second because I switch over our different connectors here so I can show what those same will look like, what those same questions will look like from our gold layer. Just give me one second while I switch on over. Alright. So now I'm on my gold layer, and I'm gonna ask it the same thing about our labor cost. So if we remember from our bronze layer, we got an answer of $2,250,000 for the year. And so we can see that we get a question here. Of course, during the demo, it says that I cannot answer it. I might have messed up the connector here. It's still referring back to the bronze. So give me one second. Go back to our screen here. We could see that for our Southeast region of that year, our actual labor cost was 2,976,000. Right? And so if I ask the same thing about our fixed rate, we could see here that our gold layer gave us an updated fixed rate of 77.5%. And so why is that? Why are we getting the two different answers given that we're asking the same question of Claude? And really, it's, again, it's the context that we've given it in the background. Right? And so as our answers have diverged, we understand that the labor cost includes a 32% burden that is a finance policy. And so as we look at that, there is a policy that is not stated within our bronze layer that we haven't included. And so in the gold layer, Cloud is actually using the certified definition. It has the lineage back to the source tables, and it also has the dimensions that allow it to be able to cut by branch or end region, so it doesn't get tripped up by the Southeast Region as well. And so when we think about the different... I messed up there. There we go. As we think about the different questions that I've asked of each layer, we could see things like first time fixed rate came up different times. So, obviously, I ran this question just once through the demonstration here. But as I was preparing for this webinar, answered it several times with different responses. So the first time fixed rate would be 77.8%, and then it would go to 91.7 versus the gold layer being 77.6% every single time. And again, because of the context and the metric definitions that we have supplied in our gold layer as well as our business policies, Claude has the ability to utilize our Snowflake Cortex Analyst to use a verified query and get the exact answer every single time. So again, same Claude, same questions. Bronze can find the data and it can make assumptions about it, but it can't necessarily find the business context that is typically stored in different layers. And so again, Claude did not get smarter between the two different runs, but the context that we supplied it with did. So as I think about what has changed over the last five years just in terms of semantic modeling, I think roughly in 2021, if you think about, you know, really folks getting into different visualization software, I, myself, in my experience, it was Tableau. And so at that time, the organization that I was working with really Symantec meant, hey. We had clean tables. We had agreed joins, and we had friendly field names. Right? Things were, you know, neat Camel case, and they were easy to use. I would say around that 2023 mark, you really saw a lot more self-service users and early natural language models, and so a metrics layer so that the numbers can match across tools. So maybe you have some calculated metrics that are more so part of your gold layer that that were precalculated and not living just in Tableau or Power BI and not necessarily a calculated measure in my workbook, but different in yours. And today, what we're preparing when we think about semantic models and gold layers are really being able to be machine readable definitions of relationships, governance, and context behind how we interpret that data. So AI agents acting on behalf of people on applications can understand how those policies are applied, how it interacts with the data, and really exactly how to tag those different elements for consumption from somebody either just asking a question or, again, an AI agent that is reasoning across to understand, hey. When Burgos HVAC's labor is at, you know, a 125% capacity, we need to reschedule some customers. It's gonna be pretty hard to do that with... From an AI agent perspective if it's just operating off of the bronze layer and doesn't have the context built into the data around what is my labor capacity, where are the number of customers coming from, and what is the things like efficiency rates. And so a new reader then changes the contents. Right? So the foundation still matters. Like, a curated warehouse is the base, but no longer the whole model. When we have a human to ask agents guess, people fill those gaps with tribal knowledge. They understand, from my example around labor costs, that there is a 32% burden of taxes and benefits. Right? An agent's gonna go ahead and fill them in with the guesses. And I think the other part of that is you could see the efficiency from asking that question of the bronze layer versus going and asking it of the gold layer, having the Cortex analyst have a verified query to go after and ask. There's a lot more efficiency in terms of token use as we go through and having an agent go through and actually pull verified queries of data that has context stored behind it versus having to do the heavy lifting of assuming, hey, this date or data format or this particular dollar amount. And so, really, that kind of ties into the governance finally paying off. And so, you know, the metadata for myself back in 2021 wasn't necessarily going through and looking at the metadata that nobody really read. It wasn't important at the time, but those are exactly all of the context clues that we feed to the AI agents that are gonna help us be more accurate and more precise in either the function that we're asking the AI agent to do or the data analysis that we're expecting it to perform as well. And so, really, it begs the question, like, if we have a new reader, if we're building this for a new function in terms of AI agents, how do we build it for that reader? And I think it's best to take a look at where to start. If you're trying to paint with a broad brush and do this for your entire enterprise all at once, it's gonna feel like an impossible task. But instead, we start slicing our business into specific domains. And so domain is a slice of the business with its own vocabulary, and a specific owner. Obviously, it could be things like sales or finance or customer success, product usage, but we really wanna choose that first one and model that one domain very well and get the muscle memory before we move on to the next. And so, really, with a couple things that I wanted to call out here is, you know, choosing that first one with mostly agreed definitions. We have really good early adopters there, and it's not one that we are arguing over specific, you know, calculations of metrics. And, again, let the boundary do the work. So, like, revenue and sales and finance can differ. The domain is where that gets stated. So if I'm doing revenue in specifically for sales, then I'm going to go ahead and curate and start building around those definitions versus trying to solve for all of them within one data domain. And again, name two people, a business owner who can settle a definition, and either if you have a particular SME in that function or a part of your data team that is representing that part of the organization who can actually go out and build that. And so, again, narrow and trusted, it's going to go ahead and beat the wide and doubted. So it would... What I mean by that is if we start with one particular data domain, we can have that sales owner, who's... Might be the the VP of sales. We can have the analytics engineer that is going to help us understand what are those current business metrics, where are they stored today, where is that tribal knowledge stored. Is it only the VP of sales that understands exactly which region cutoffs exist in terms of being able to have by region slices and dices of our metrics? Or is it an analytics engineer that only understands the DAX behind it? Right? But we want to be able to have a very specific data domain with clear ownership for folks that are going to be using this semantic model and will also be the benefactor of, let's say, an AI agent workload. And so what we could do is write down the first three questions of what is going to be supported for that particular data domain. It could be a question around labor cost or, like, the first time fixed rate that I asked. It could even be, you know, which branch has the highest labor cost as percent of revenue. I think one of the great, you know, best practices that I've employed in in my experience doing this is go and sit in on, like, a business review with sales or with manufacturing or with product and understand what are the types of questions that they're asking of the data, what are the, you know, obstacles that are standing in their way, what are their KPIs that are most important to them, I think it'll help give you a really good foundational view of what is most important for them and how to start engineering the data model to support their business function. Alright. So next, we've got our second poll. So if you think about your metric definitions, where do your most important metric definitions live today? They already live in a semantic layer or metrics layer within your cloud data warehouse, in DBT models or warehouse views, in calculated fields inside BI workbooks, or in people's heads or a spreadsheet somewhere. All right. Got some good responses coming through. Appreciate the participation. Alright. Looks like we've got 14% are already in a semantic layer or metrics layer. It went down 13. Looks like somebody changed your answer. 29% in DVT models are warehouse views, which is solid. In calculated fields inside BI workbooks, people's heads or spreadsheet somewhere comes out at 30%. Right? So we'll get ahead and end that poll now. And I'll share those results. Right. So you can see here, we get the 15% at top. 29% DVT models or warehouse views. Calculated fields inside BI Workbooks is 27%. And then in people's heads or spreadsheets somewhere coming in at 29%. Alright. So we think about, you know, where we start. Like, we've identified our particular data domain, whether that's gonna be sales or operations or finance. Now from there, it's starting with the metrics that you already trust. So it starts with a good inventory of the top 10 or 20 measures from your most used dashboards and start capturing the logic that you have within those in that step two. So it could be calculations. It could be filters, grain, and the exceptions that, you know, are applied by hand. That could be, you know, one of the, you know, components that I think about as I've gone through there. One of the obstacles that I've encountered is having filters, views from an ERP that was then feeding an underlying workbook. So being able to capture what that logic looks like. So it allows you to go to that next step, which is really trace the inputs. Exactly where are those tables and columns and keys that each metric are dependent on. And then going into step four is, like, how do you resolve those conflicts? So if you have two definitions of customer counts, settle it once with the owner. One story I always like to share is I was working for a distribution organization, and we have four different ways to measure a case, which is pretty important. And not all of them were wrong. So it's one of those things where you have to start including what are those exception cases. It's Kinda like I mentioned earlier, those slides that, you know, if you're in sales, revenue might look different in in terms of a calculation than finance might look like. So really settle that by saying, okay. We're solving for our operations data domain. This is how we're gonna count the case in this particular data domain. And if we have other views that we create for different data domains, then we will be able to document that in our definitions to ensure that we have the proper documentation to show why that number might be different. Step five is leave things out. So, you know, dropping fields that nobody uses is pretty good. Semantic modeling in itself, while we're trying to represent one whole part of our organization, there are gonna be situations where it's not a 100% of the time. My most famous example comes from, like, a warehouse management system's date flag status that would show whether an order came in on a Monday, Tuesday, Wednesday, Thursday, or Friday. We didn't necessarily need it in the warehousing component that we were using for our semantic modeling. But, again, those could be smaller use cases. That's where going through the medallion architecture is a really solid best practice because that date flag that I was talking about lived in our silver layer. So it was still there in the raw data if there was a use case that somebody wanted to do some analysis on orders in that particular way. But again, for our gold layer, it was something that wasn't needed. And so you don't necessarily have to bring in every single, you know, timestamp or flag field that is existing in your source system. We can leave those out and then bring those in in an as needed basis. But your existing BIS date is really what your requirements document is. It's an awesome time to go through and take a look at how are we calculating these metrics today, start inventorying what are those custom measures that are living in Tableau or those custom DAX measures if you're using Power BI or any other data visualization, and check them even for the most simplest things, even just arithmetic being correct. I've come across situations where, you know, we had a parts per million measure that was certainly not arithmetically correct in terms of that's not how we would measure parts per million. So doing a really good check there to ensure that the way that these measures are currently calculated in the business are accurate to then be able to allow us to move those to our semantic model within our cloud data warehouse. It's a great time to mention where some of the pipeline tools fit. So if we could think about our different source systems, whether it's SaaS apps or ERP and databases, files, and APIs, really being able to use tools like Fivetran or DLT to help us ingest those. I know InterWorks has a lot of different resources that are available with blog posts that we've done. So if you haven't, I would say check out a couple of those. Around Fivetran and DLT, using DBT to have, you know, that version controlled SQL that means joins and test the data with really great documentation and lineage to really get to our gold layer. And then, again, our defined semantic layer with not just our metrics, but also our relationships, comments, and tags that Claude and your BI tools can read. So really, a semantic model is only as trustworthy as the GOLD tables that are underneath it. So we're only going to trust the data as much as we trust those semantic layers that are underneath it. And so, again, ingestion being really well clean helps keep our bronze layers fresh and complete. And then transformation makes gold clean, tested, and repeatable. So one metric from buried to named. So if we think about the bronze layer that I used in our example going through Claude, so we had a sum over raw invoice lines only. There were some hidden assumptions about the different costs that we had. And then things were copied and slightly different within our actual metrics that we were using and our gold layer for our fixed rate. It could be very similar in terms of how other metrics are calculated across your organization. So we could have a before that looks like, again, a calculated field that is in, you know, one person's, you know, Excel macro or workbook. And what we wanna do is we wanna take it from this, you know, side here before. And after, we want it to be very explicit in terms of what we are measuring. Right? So if we think about net revenue after, we have a very clear definition of what it is and how we are measuring it. So revenue earned from posted invoices, net of discounts and credit memos. Right? This already gives me a very clear definition of how we're going to calculate it. It's also gonna help me understand the granularity. So if I think about invoice line, invoice date, how am I going to slice and dice net revenue, and then the different filters that could be applied to it, whether or not we have any exceptions. I mentioned my experience with measuring cases in four different ways, and there is very clear exceptions that we needed to account for depending on where exactly in our organization that we were going to be measuring that. And then also the inputs, where exactly is the data coming from. I think as you start going through and you start doing this exercise of building out your semantic models with obvious AI use cases in mind, it really is important to start peeling back the layers of that input. Right? Well, it's coming from my ERP system. Well, how does it get in there? Well, it's written down on a whiteboard in a warehouse where somebody receives that product and then manually types it in. Right? That should be a red flag of we can't quite, you know, guarantee the quality of that data. But trace that input all the way back just because it lives somewhere digitally now that you collect it from doesn't mean that that's where, you know, it's originating from. So peel back the layers of those inputs and truly understand how the data is inputted into those source systems so that you have a really clear lineage of where the data is coming from that will continue to help add context to the semantic model itself. So define once and answer many questions. Again, here, if we look at our anti pattern, you know, hard coded measure for every slice, if I have to hard code for, let's say, a fiscal year or maybe I have to hard code for a particular region, you know, that's not something that is scalable across a semantic model where we're looking for dynamic metrics. And, again, the agent will start to see, you know, near duplicates, and we're gonna ask, you know, something like a Claude or any other model to do the heavy lifting to pick or assume. Or if anything, it might fail nicely for us and say, well, I found two numbers. You have to pick one. So, again, if it's just somebody that is consuming this insight and is asking a question like I did in our demo, that may not be the biggest thing in the world. But if we have an AI agent workflow that is going to be picking one lane or two for, let's say, again, like I mentioned earlier, labor planning, the outcome of that becomes, you know, more critical to a business outcome. So if we think about a dynamic metric, we have one definition that responds to any of our dimensions or filters or time grain by region, by product, last quarter, last year, all in one place, and then the same follow-up can return the same number. We obviously wanna stay away from having to hard code specific measures by our dimensions. And really, what underpins that is the relationships that we have across our tables. If we know that we are going to want to slice things by region, then we need to have really good relationships from our dimension tables of region, and how does that line up to our fact tables. And so speaking of fact tables, you know, there are some great tools in Snowflake to have. Number one is the tags on the table. I'm gonna try to zoom in here without messing up too much here. But we have added... You know, this is the gold table that I built the demo on for the fictional Burgos HVAC company. So you can see here that we have different types of data owners, the types of grain that we are looking for, as well as our sensitivity tags. But then even within the table itself for our fact revenue table, we have our column names here, but then we also have what is the description. So we're being very explicit in what that column is, and then also bringing our tags here for what is that column role. And, again, as we have Claude going through this, it makes it a lot more efficient to be able to find that answer and to have the context there as somebody is querying it or, again, it's being used by a specific tool call. So, again, every column described, all 17 columns say what they hold and in business language, and then every column has a role, whether that's primary key, it's a measure, date, or attribute. So, again, the agent knows how to use it. So I mentioned a little bit just a second ago about the structure relationships and having those joints stated and not inferred. So keys, direction, cardinality, excuse me, declared explicitly and never guessed from column names. I think this is super important in terms of how you want to slice and dice data, or how you're gonna ask, you know, a cortex analyst to review data. But we really want to make sure that we're very explicit in how those relationships behave. Double counting is definitely one thing that can happen if you're not careful with how your relationships are defined. And so making sure that we have one clear path and not too ambiguous about our joint paths is how those answers can go quietly wrong. So here, this is just an example of, you know, how we have very explicit cardinality here. You know, something like Kansas City moved from Midwest to Southwest in July 2025 and and making sure that we have data where branch join counts at once, right, so that we're not adding that up through some historical analysis. But, again, making sure that we have very clear representation of our relationships through these tables and through these structured semantic models. So if we think about part one, so, again, bronze had no stated metric and no stated relationships, so Quad guessed on both. And so it didn't have the burden rate in terms of our labor cost. It did not have a definition for fixed rate, and so it tried its best to guess on both as well as the joint path for, you know, the Southwest region that I had asked for. And so define metrics and declare relationships are what gold added. Obviously, if we look back at our example screen here, it had a lot more context to be able to reason against and to understand exactly what the output was supposed to be for the questions that we were asking. And so those comments and tags fields is really the cheapest content that you can add. So comments and description can be a business meeting, plus a caveat if we need it, when to use a field, when not to, and then short and factual, never marketing copies. So we don't necessarily wanna have a paragraph per column definition, very short and sweet and exactly what the business needs. Know, things like, I think I called out line amount in US dollars excluding sales tax, right, but being very descriptive in terms of what those columns mean to us and how we're going to use them. And then also tags, so classification an agent or a policy can act on, whether it is certified, where it belongs to in terms of, like, the domain of finance. Again, if we have metrics, like the revenue point that I made earlier, if we have that measure that is different for finance, that is different in sales, we're measuring it two different ways, at two different points within our business, having these tags of domain finance will help that agent understand that if I am asking a question that is based on finance's revenue number, this is the revenue target that I need to use versus having to, you know, again, come across both, like, well, I found revenue in two different spots, and it's two different numbers. How do you want me to act on it? So really, governance becomes a side effect. And so as we think about the agent reasoning of the semantic views in our descriptions, you know, we have the data catalog, which would be the same comments in Snowcite, a certification trail of those certified tags all the way through our medallion architecture from bronze all the way through gold, and then also our audit evidence of our, you know, data owners of sensitivity, PII tags. And so if we build the model well and the documentation chore takes care of itself, you know, again, I can remember five years ago of having two different systems to really hold my data dictionary and then one for all the data to go find it. And I find that as we continue to see more AI use cases, more AI agents bringing those two together, utilizing things like the comments and tags field in our cloud data warehouse helps bring both of those together and allows us to, again, take advantage of that governance, but then also manage and maintain it in a lot simpler fashion going forward. So build once and serve three different audiences. And so if you think about how semantic models can be used across all different audiences, I think, first and foremost, the internal data team and get faster agent builds, definitions, joints, and metrics already exist. And so getting... Like, the time to get to a working agent could be a lot faster in terms of how your team manages that. If I have all of the context applied within my semantic model and I get a question from the business of how do we calculate it, very quick and easy for me to look that up through Versus Code or just through Claude. I wanna create new dashboards having a semantic model that I know already has verified queries, predefined metrics, being able to develop those again in my model of choice is gonna be a lot faster. But also our internal customers being able to have the proof point to show it. I think in our earlier poll question, a lot of folks mentioned, like, I would have to double check that number. When you have a semantic model that is by data domain that you can share that with a VP to say, hey. Here is all of the metadata behind exactly how the semantic model is structured. This is how we calculate these metrics. It's very easy for them to then go and start using that. It... It's pretty explicit what connector it's using, and we can build that trust throughout our organization. And then also external customers, whether it's a customer facing AI agent or embedded analytics, again, as we continue to have the documentation that is built around that, we can share that across as we see fit to ensure that customers are getting exactly what they need from us. So what to take back to your team is not so much modeling is a modeling gap, not a model gap. And so, Claude's answers improve when the context approves. And so how do we start building the nuances of our business, and how do we build that into our semantic model? If any of you have gone from, let's say, you know, a Tableau migration into Sigma, we can understand that having all of our business context and calculated measures live in something like Tableau, and then having to take that out could be a really tough obstacle to overcome when trying to build a new tool. So we don't necessarily want all of that tribal knowledge and our exclusion cases and our calculations to live somewhere where it's very hard to utilize a lot of tools. Building that into your cloud data warehouse like Snowflake is a much, I would say, more consistent opportunity to service long term and then also be able to swap different tools down the road if you need to without having to rebuild in the context layer. Start small. One domain, the metrics that, you your BI suite already runs and their inputs. Don't be afraid to carve it out even smaller. I mentioned things like sales or operations. You might be in a supply chain organization where manufacturing represents a whole lot more things than just manufacturing. It might also include r and d. It might include maintenance. So don't be afraid to carve out even a smaller subsector to say, okay. I'm gonna start here, and we're gonna make this one pillar of our organization really solid in terms of semantic model and how we service the business needs before we move on. Step three, define, declare, describe. So metrics once relationships very explicitly called out with comments and tags throughout. And then, again, that step for one foundation, being able to serve three audiences. How do you utilize that internally, whether that's to maintain data quality or to enhance your development efforts or also service your self-service internal and then your external customers as well. All right. So your next step this week is pick your first domain and list its top three questions. So if you interact with folks from a different business group, what three questions would they ask of their data? I think these are always good exercises to go through. You might... Now, you know, if you're going through this exercise, you might realize that you don't have data to represent the question that they're going to ask. It'd be a good time to start taking a look at that and saying, like, okay. Well, where does that source system live, or do we have that data? Is that a separate, you know, infrastructure project that we need to do before we can accomplish that? And it might mean, hey. We don't start with that domain, but we're gonna go pick somewhere else. Or it might be able to help you understand, you know, what back tables are most relevant for that business unit. It might be revenue. It might be an efficiency target. But being able to list its top three questions is gonna give you a great starting ground of where to start. And that is the slides that I have to share, so we can go ahead and open it up with questions. Teddy, I saw that there's quite a few in the chat. I'm not sure if there's any that you wanted to call out. Yeah. It looks like we have quite a few in the chat as well as a handful coming through in the q and a. Cool. We'll go ahead and start with some of the ones that are in the chat. One asked from Rosario. It says, where does a data product fit within these models? Yeah. I think it depends in some ways. So, like, if you're thinking of a data product like an application worth an analytics product, I think you can use these semantic models to power that analytics product or that data product in itself. So if you think about how AI agents are are functioning, they're going to connect to that same semantic model within Snowflake as you build out that connector. I think it really does depend on do you have a particular product in mind. In my experience, I've been able to, you know, curate Tableau dashboards off of a transportation semantic model that powered it just fine. In a recent project here with InterWorks, we had, you know, semantic models that were really focused on a sales part of an organization that then powered a AI agent that was doing some things around customer business reviews that worked really well. So I I think these models can absolutely power those data products. So you don't necessarily have to go and build infrastructure out for every data product that you're going to build. It really is how representative is that semantic model of that particular business unit that's gonna be using that data product. Fantastic. It looks like we have a couple questions that are in a similar vein. Folks aren't using Snowflake. So they're wondering... You know, one person asked if there are any differences they should be aware of when using fabric, and someone else asked if there are options for capturing the semantic model other than Snowflake. There's still a SQL Server shop. Yeah. I I think I am not a SQL Server expert. I've... And I have not worked with one in in quite some time, but I do think that there is absolutely still levers to pull there if you're on something like SQL Server to do very similar comments and tags in in SQL Server through the metadata of the tables that you're storing. I think that those are probably not as easy or straightforward as I showed on this slide where there's a very, you know, specific spot within your UI to add them. But I think, you know, partnering with anybody on our team, you know, I think we could definitely help you understand exactly what that would look like in your instance. But there are opportunities to utilize the metadata as much as possible in SQL Server to get out a lot of that same context. And then you mentioned one about Fabric that's not using Snowflake. Right? Yes. Yeah. So I... Previous life before it to work, I was also a fabric user. And so there are a lot of these same features that are similar in OneLake in terms of being able to build out the comments and tags. So this example in demo, you'd Snowflake. But if you're on Fabric or you're on Databricks, there's definitely similar features. Not exactly... They're not gonna look exactly quite like this in terms of the descriptions and tags. It might be a little bit different. I think Databricks is probably the closest that the one to one. But even in fabric as well, there's quite a few things that you can do there as well. Okay. We have a few more questions. One of them is asked by Robert and says, can you prepare early for security? For example, Matt can see revenue total, but Bob cannot. Would that be semantic, or can you include security at user roles typical in a data warehouse or domain level or for at a specific field level security? Yeah. So there is role level security that you can employ. I know that we have used that in a couple of different agentic workflows as well to be able to deploy that. There's a couple of different ways around it, so I don't wanna go down a whole level... Like, a rabbit hole around security. But whether you set that up through, again, row level security or if you configure service accounts through Snowflake itself and configure it that way, I think there's also an avenue there. So I would say dependent on what that particular situation is there, but there is opportunities there to deploy role level security or to configure user access on these particular semantic models where you can build something out with operations, but keep sections of it confined where you'd like to. And sometimes it's worth having that conversation where if you have... If it's just a matter of different levels of the organization being able to see particular data, then, obviously, I think that speaks larger to row level security. But if you're looking at, hey. We don't want this part of, I don't know, compensation. We don't want somebody in... You know, to know everybody's pay rate, then that might speak to, you know, a different level of semantic model that is secured away and that is, again, secured in a way for a group of users that is allowed access to that. Okay. We have another question. The scale of data I work with makes a single semantic model per domain cost prohibitive. How would you recommend helping agents navigate multiple versions of similar models to optimize compute time? That's a good one. Yeah. If it's cost prohibitive there, I think for me, I personally haven't run into that situation where it's such a vast volume amount of data where you wouldn't wanna be able to do one part of that domain. I think I'd probably have some follow ups. Like, I'd wanna understand a little bit more of the use case to get into exactly, like, the cost savings part of it. I think there's quite a few folks here in the ITWorks team that has helped do that in terms of being able to understand what are the costs for things like Cortex analysts or agents that are running through it. And so there's different things that you can do, like verify queries within the Cortex analysts. So instead of trying to do a a semantic model by domain, you might say, if we're talking about this group of metrics, I want Cortex analyst to use this verified query. And so then that way, as you're interacting with it through different models, you're always going to that one verified query for those groups of metrics. And, again, in the same way, the tags, the documentation, the data governance around it may be the same in terms of how you structure that. It might not just be one per domain. But, again, you can use that verified query to take a a slice of your larger models so that that way your AI agents or, again, your model and your users are only looking at that one subsection. But the general answer to that question, and I think there's probably some more details to go through there. But, yeah, it's definitely an interesting question. Okay. We just keep getting asked questions. So we have a few more. The next one is we have data and data definitions from two different systems. Are there any specific guidelines when we need both to work together to using that AI agents? So we have different definitions, different systems, and we need an AI agent to be able to reason about both of them. I think I always kind of come back to chess in a way. So if you think about... For those who don't know, AI chess bots have gotten extremely, extremely powerful at chess and and basically beat the game in a way, if you wanna say it that way. Why it is that way is that there are only three outcomes, right, to a chess game, win, lose, or draw. There's only two sets of pieces, white and black. All of the pieces have very predetermined move types, and then there's only 64 squares. And so I would say the more that you can take this vast use case and all of that decision tree where that AI agent can go and the way that you can, like, eliminate or, I guess, you know, kind of lessen the outcomes for it, the better accuracy you're gonna get out of that particular AI agent. So if for some reason, this one number should be used in these types of use cases, then I would say being able to model that, it... It's... It probably comes out of more so of the exact semantic modeling side and more so how you are designing that skill within Claude itself, where you might wanna be able to provide some few shot examples of why you, the end user, would pick one level of data versus the other. But I would say if you cannot programmatically determine exclusion cases for one number over another, then I think the few shot examples within the skill that you're building is probably the best way that I would go to that. Okay. We got a question in from Beth that says, we struggle with defining the most important metrics and who own slash define them. There can be a bit of a power struggle. Do you have any suggestions slash best practices on narrowing it down to that top 10 to 20 metrics? Yeah. I think that that part of it is you can't escape just getting folks in a room and deciding on what is that best measure. I think one of the questions that I would always ask my teams when they were kind of coming up around that business metric discussion of why is one way measure it versus the other is I would always ask, then what? Right? So if we have this number, it's an efficiency metric, and it goes red. Well, then what? What are what are we gonna do after that? Right? Is it we go inspect a a particular area of our business? Is there some other lever that we pull? And I think that that does help understand, like, the impact of that metric. If we're arguing over something that doesn't really matter, it's a... Maybe it's a leading indicator that a lot... There's just no analytics proof that it impacts the business, then it's probably not worth fighting over that much. But I would say to start taking a look at what those top 10 to 20 and ask then what? If this particular metric is red, what am I gonna do about it? And I think that that does help kind of bring out the severity or the criticality of of those metrics to help start kind of cutting through some of the the argument or the conflict around how to measure it. Ultimately, I do think that you need to have one owner that is in that business unit or group to decide, hey. This is how we're gonna measure it. And it doesn't always have to be all one way or not. You might be able to just try it for three months. Hey, this is the way that we're gonna go with it. Let's see what the impact is on the overall business, if it's possible to do that. But I do think that getting folks in a room and being able to have those good conversations around why it should be measured one way or another is always good for the team just to understand what those use cases are. In some cases, during those conversations, we have created other ways of measuring things. And we've created different measures because we've had folks that have come in from a different walk of life or a different industry and said, well, hey. Why don't you do it this way? And we've included that as another metric. So it doesn't always have to be, you know, one way or the highway. Sometimes you might add it as another sub metric, or maybe you create another one and add it to the list of your top 20. But I do think that there's just no... There's no other recipe that I found that works outside of having the time with those folks and having some really good natured conversations around how exactly we wanna measure the business and what's gonna ultimately help us lead us to our goals. Fantastic. Okay. I'm going to mark this as the last question for today's webinar. If you have additional questions that we didn't get to talk to or if you would like to get in touch with our team, you can go find us at interworks.com/contact. There is a link in the chat that you can click. But the last question is from Alexis, and the question is, does any member of your team have experience creating semantic layers in SQL Server or SQL Server MCP servers? Do you offer any type of engagement or project? Yeah. I think that's definitely a a good one to contact us through what Teddie had just talked about. I don't wanna speak for the broader organization. Know we had a SQL Server question earlier. I know that we have absolutely done work around SQL Server. It doesn't necessarily just have to be Snowflake. There's a lot of great folks and engineers here at InterWorks that can help identify what those requirements would be. And I think, you know, more than me trying to fit that answer here at six minute, I think it'd be great to just have a one on one conversation and understand, you know, what you're up against a little bit more, and then, again, bring out what the solutions that we've done in the past for you. Fantastic. That's all the questions that I've got today. Yeah. I appreciate all the attendance, and the questions have been great. I really appreciate it. Thank you all for attending. Feel free to find me on LinkedIn. If I talked about anything that feels relevant, feel free to chime in there. And as Teddie mentioned, going to the InterWorks website and getting in touch with with us would be great. And I'd be happy to nerd out more on semantic models and and find out how they're impacting you or your business and and how you're getting ready for your next AI use case. So thank you so much.

See why AI answers are only as good as the context behind them. InterWorks strategy consultant Matthew Burgos asks Claude the same business questions of a raw bronze layer and a gold semantic layer using a fictional HVAC company, showing how labor cost and first-time fix rate answers diverge. He covers how semantic modeling has evolved, where to start with a single domain, and how to capture metrics, trace inputs, declare relationships, and add comments and tags. The session closes with Q&A on security, non-Snowflake platforms, and metric ownership.