Using AI to curate your semantic layer | Live demo in Omni

Omni Live · March 11, 2026 · 30:48

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Okay, one pass. We'll go ahead and kick it off. So, I'm Ernesto Onaro and I am joined by Colin Zema. Um, hopefully a lot of y'all joined last week's uh talk which was more like a front end thing like how how can I do cool things? How can I get value out of data from the front end?

  2. Uh, this is going to dive into our semantic layer particularly making uh AI reliable. So um the way we think about this is like it's not it's not your data team's job. Uh it is sort of everybody's job because we all have some context that is valuable uh for quering. So uh data engineers, analytics engineers, data analysts, they're all sort of like working to add uh context in different ways.

  3. Um we didn't want to constrain folks. Um this this slide used to be very like um you know I've made this slide at various companies but it used to be very like oh well technical people want codebased and like non-technical people want UI based and AI based didn't didn't exist. It's actually like folks want to do all three at different times of their day.

  4. Um so it's sort of like uh whatever whatever adventure you want to choose. Uh Colin's going to show you uh a bit of uh all of these. You can see on codebase there's a little bit of a nuance there. There's codebased with the Omni IDE and there's codebase with your own IDE uh cursor or or whatever you use um is all supported as well.

  5. Um and so how does this work in practice? Um generally like it starts very early. A lot of our customers use our DVT integration. they do physical uh modeling. And if you start with like, you know, cleanish data with descriptions and labels, you're uh in pretty good shape. You then do your semantic modeling, which is like how does this join?

  6. And um we call those topics. Um then there's the possibility to sort of like tweak that directly in what we call workbook modeling. Uh adding synonyms or custom metrics. And then finally, even if you're just asking queries, uh we are actually capturing some um context there and using a feature called autolearn. Um so that is the the intro.

  7. I'm going to hand it off to Colin to dive into this. A little bit of like uh housekeeping though. Um there is a Q&A and there's a chat. uh just throw your your questions in the chat and I'll uh sort of like barge into Colin's demo whenever uh we have questions. Uh so with that I will hand off to Colin.

  8. Thank you. I muted. Okay, let's dive in. Um so I'm going to start with a fairly simple data set here. The plan here is just over time we'll probably do more of these with more complex data sets. Um, but I just want to keep it simple so we can understand everything that's happening. So, last time we went through querying and understanding what's here.

  9. I'm going to focus on a really small e-commerce data set. Um, it's got a couple topics already, but we'll still make some from scratch. It's got a handful of tables. Uh, we can go explore things, but I'm actually going to start in the ID. Um, and what we're going to do is I'm going to pull up the semantic layer.

  10. And so, this is how we actually get things going. I evidently made a change here. Let's back that out. Um, and I'm going to start by making a branch. And you'll see why in a second. I'm just going to call this uh AI modeling. And uh what we're going to do is I am going to open the AI helper in the data model.

  11. And you'll see that this ID assistant can now actually just help us start building things in the data model. So I'm going to start with some simpler things and we can sort of see the logical train that is being followed. Um but I'll show you some sort of backtoback or like um kind of more endto-end workflows.

  12. So um can we start by making a new topic with the products uh table and any other relevant tables that join to it. And uh we might come back to some of this but for folks that are not that familiar with Omni, we can do a lot of this from the front end of the tool as well.

  13. Um, and we can sort of build things from the UI. I'll come do a little bit of at the end, but this is really just a dedicated uh sort of code assistant. And what you're going to see is it's a sort of very similar workflow to what we had in the ID where uh when we get a query or a sort of uh natural language object.

  14. We're going to break it into a query plan. uh that query plan can essentially do a variety of different things like read the data model, start making changes, um you know, explore and then ultimately will actually validate the work that it's doing. And that very literally means sort of running the model validation code and making sure that things are not broken.

  15. So you can see that we read some relationships. Um here it couldn't read products. I guess it eventually found it. Don't ask me why. Um it found a couple of tables. It's going to start writing joins. Um, here's where the validation starts becoming really valuable. Um, you'll see that it found a validation issue when it built this topic.

  16. So, let's go look at this topic. Um, you'll see that it's got a fields parameter here. And for folks that aren't familiar, what this is doing is just limiting the fields that are available inside a topic. The reason it's doing that is it found a field called sale price. Um, and if we go look at products, you can see that we have a margin field that is calling a a table that is not actually joined in.

  17. And so it can actually do the exact types of work that an analyst would do. If I actually go in, I can I can remove this for a second and show you what would have happened. But you'll see that when you save that now, you get a a little error here that we don't have that field available.

  18. But let's let's resolve that. Um, actually I cannot do that. So, uh, add the fields thing back, please. Actually, you know what? I'm just going to revert this in the UI, uh, because it will be quicker. So, let's go back and restore this. And restored and great. So, now we're back and we've got a sort of working products topic.

  19. Now, the the thing to understand is I can actually go back and forth and edit these things. So, uh, maybe I don't want inventory items there. I don't because it fans out the data set. So let's go delete that. But we can actually work between the sort of coding layer and the model. Um and it's not just sort of simple tasks that it can do.

  20. It can really actually start extending things. So um I'd like to create a a fact table with some sales info on products. Um, can we build a products a product fax table with uh lifetime sales and 30-day sales uh using a query view, please? And this is where you're again going to see the sort of mix and match between a bunch of different things.

  21. So, it's going to go look at the data model. It's going to then go build a fact table. It's going to validate and then confirm success. But everything that's happening here is again like very similar to the types of work that a data analyst would be doing in the data model here to go read things, search files, understand things.

  22. So great, it has an understanding of how these things join together. Um and it can go aggregate sales price and um now it's going to actually run a query here. Um, so here we can see that it built a a query. Uh, you'll also note that it it can do some thinking here. So, it's decided that it doesn't want canceled or return orders.

  23. I don't exactly know how that was decided, but we'll go look at the context in a second. Um, and then it is building a fact table. Again, it's going to continue to sort of revalidate itself and make sure that um, these things are proper. So, it doesn't like those order items status. It's just going to keep refining these things.

  24. Um, and here it decided that it made a couple fields in this query view that don't exist yet. So, great. It's going to go build 30-day sales and order count 30 days. So, it's just doing the work underneath again this sort of original fact table um to make sure that it gets all the metrics that it needs and hopefully we'll continue here.

  25. So, now it's going to update this query view. Um, and look, the stuff is not always perfect either. Um, it can find little syntactic issues that it struggles with, like it really struggling with this not is thing. Um, let's go see what it's doing here. It might remove some things, but it's going to go through a process until the file looks clean.

  26. It can validate the model, and we're going to get a fact table. And again, like as this is building, you're going to see a summary of the work that's getting done, the supporting changes, and kind of most importantly, it's going to show its work. So there's not a black box here. If I want to see the exact query view that got built, I can go see it here.

  27. I can understand it. You'll see that it's it's pretty fidious. So it actually will do things like currency formatting. Um, and it can join these things back. Let's go see if it put it in the topic. It didn't. Uh, yes. Let's please add that to the products topic. Um, and you can see that you can really get to like a a pretty endto-end workflow here.

  28. Um, so it's now going to essentially find these things, add it to the products topic. Um, and we'll let this run for a second, but while this is running, let's go pop over to the front end and we can actually take a look at what is getting built here. So you'll see that I've got a new topic here called products and I can dig into it.

  29. My product facts are not there yet. So maybe we'll give this a second to go run. Um but again all that's happening behind the scenes here is it's going through a very similar review process that a user would go to validating um running queries building the UI. And the nice thing here is we have customers doing these sort of end-to-end workflows with things like claude code that are very blackboxy.

  30. You know, like you might hook up to your codebase and actually have it start parsing out your product analytics and sort of doing real cause things. This can be used very very tactically. Um, and so again, like we can go run queries to see if it looks right. But kind of importantly, we're loading this into a branch and we can just load this stuff in the UI.

  31. So, if I want to go see, you know, like by product name, uh, 30-day sales, we can actually go validate that these queries are actually getting run properly. Um, and it really means that we've got a nice feedback loop on understanding the model that's getting built where we can actually go review these things. And again, this is where the sort of the backbone of Omni comes in.

  32. If I want to just understand all of the stage changes that have been built here, I can actually go through and see all these. You can see that we built a new relationship. Um, we haven't done anything in the model. I guess we've got this new query view. We've even got a couple of those dependent fields that we built in order items and you can really start using these sort of additional tools just to supplement the things that you're doing.

  33. Um, and so again, we can go do these things. We can touch and feel them. We can see them. We can promote them. And ultimately, like what you're probably going to end up doing is just saying, "Hey, that looks good. Let's go merge this." And great, now we're out of the branch and all this stuff exists. So this just shows you an endto-end workflow of doing really tactical work in the data model.

  34. And this can write joins, this can validate things, etc. Um, another great use case for this type of work, let's make a new branch called more AI. I'm going to um interject here. There is a question about um enabling blobby in the data model. Is that a specific setting? It probably is. We We're probably on an internal test here.

  35. I'll go look at the sort of the status of this being shipped uh publicly. Um you can see it's pretty fully baked here. And there's there's little rough edges that we're working out in terms of like you know deciding query views preference to SQL versus modeled constructs and things like that and a little bit more style to this very active area of development but this is something that we could probably go flip on for folks.

  36. Um you can also start doing bulk things here. So, um could you do a quick scan of my views and identify uh likely currency fields and format them uh properly for me uh I like uh currency with two decimals as the default. And this gets into the sort of B bulk workflows that are frankly just a huge pain to deal with as a developer.

  37. Um we're like trying to define style guides and actually enforce them. And this is where we can actually do things like loop over all of these files and understand fields. Now this is also probably not a place where it's going to be necessarily perfect. like it's going to use whatever logic it decides to decide things are currencies or not currencies.

  38. Um you know it correctly identified that there are probably no currency fields in users. It's going to go run through and go look at these. You can see that our currency format is all over the place. Um but again like we've got some really nice analytics on these things to understand. Um you know it's going to go make some decisions like I don't know how ID and I average got you know EU currency.

  39. We can go clean that up in a second. You can see that it's actually running through these. It's going to make changes all over the place. And again, if we want to understand the things that are happening, we can go move into staging and we can go see all of the changes that are being made across our data model.

  40. Um, let's get out of here and go back into combine mode. Um, it looks like those ID fields were formatted as currencies when they are not. Can we fix those and scan for other potential mismatch? And again, I would flag, do not think about this stuff as deterministically perfect uh IDE search. Um, it's going to vibe, uh, but it's going to be able to run through these models and take instruction and actually automate looping in a way that is just way more efficient than a human's going to.

  41. Um, and so again, like we're going to go here. It it cleaned up some IDs. It's going to go validate. It's really nice because it can go clean up things. It can summarize its work and like great, we're good to go. So, we've done a bunch of ID clean up here. Um, another thing that bothers me are descriptions that are trivial.

  42. Can we take a look at field descriptions and remove stuff that is a bit self- obvious? I've never tried this. Let's see what happens. Um but the the piece to reinforce here is we can actually go through these things file by file. We can read descriptions. We can decide, you know, that it doesn't like these things. And this is where I can actually give feedback, you know, like margin is calculated sale price minus cost.

  43. Maybe we like that one. Um I really don't like these count of distinct orders for order count. Um and things like that. um you know the canceled returned exclusion note sounds really nice but again I can review all of the changes that are coming through here I've really tightened up my model you could prefer the inverse of this but the whole point is AI has given us now tools to express the type of preferences that we want in our data model without thinking too hard it now becomes a challenge of actually trying to define the things that we care about and trying to manicure the environment so great I like all this let's merge it.

  44. Um, and we're good to go. Um, where this gets really nice is Okay. Uh, I probably shouldn't merge that because it was still running, but it looks like we did something. So, let's make a new branch. And, um, actually, I'm going to go into a different data model real quick that I was playing with yesterday. Let's go look for Okay, we pageentionated this.

  45. Now, let's go to page two. I think we have a snowflake model. that. Let's try this one. Okay, ignoring that a lot of it's broken. Um, it's got a bunch of, you know, FHI data. Um, and I noticed that it's got some patient data in here. Great. It's got names, IDs, phone numbers. Um, I think that even has stuff like, you know, I think I saw social in here.

  46. Yeah, social. Um, there's lots of use cases where we actually want to clean this stuff up and we want to sort of app permissions a little bit more effectively. So, what I'm going to do here is I'm going to make a branch called Colin uh cleans up PII. Um, and let's get the AI helper open again. Um, and this time I'm going to be a little more tactical.

  47. So, I'm in the uh this file and I see a lot of sensitive data. Can we uh start doing some masking? Uh let's start with SSN, please. And um you know, masking data is a little bit tricky. Uh you kind of have to know what the options are. You're sort of weaving together systems. Um and like ultimately this is the type of thing that people are doing over and over again.

  48. But what we're going to do here is uh we're just going to tell the AI to go do it. So here we're just going to create the social security number field. You can see it's going to mask it out to the right four digits. Um and it's going to go right this to the view. And let's wait for this to complete.

  49. But you can see just how simple this is in comparison. Like you literally just are coming and saying great uh can you do this for me? Uh there's a lot of other errors here that I think are ignored. But you can see that again it knows that these are all pre-existing issues. Um uh and I'm going to say let's go a little further.

  50. Could we actually put uh access control on the field entirely? And again, this is really just to emphasize that um the whole sort of data model and everything about the app is at our fingertips. So now we're going to actually create a required access grant here. And so you can see that first we've we sort of hid the social and it added a little comment, but now we're actually going to add an access grant.

  51. So here it's actually going to go through the endto-end workflow of adding an access grant to our model file. And I'll talk about that in a second. It's going to add the required access grant to the field. You'll see actually a great example here where it's going to create and call a user attribute that doesn't exist yet.

  52. Um, so we are going to have to do a little bit tuning here, but let's actually see if this works. Great. Our file reloaded and you can see that we've actually got an access grant here built with our required access grant. And if I go to my model file, you can see that I now have an access grant pointed towards a user attribute.

  53. Now this is again like I I mentioned this is an area of development. But uh you will note that if I return to playground and I go to our settings and I go to our user attributes that uh it is calling a a user attribute called sorry in front of me the screen phi access that doesn't quite exist yet.

  54. So, we've got some things to plum end to end. Um, but thankfully I have already built one called scan CPI that I've used in other places. And again, I let's just say I don't want to edit it. Um, my user attribute is called uh can we use that instead? And again, like I probably could have done this by just, you know, pasting that in here, but it's going to go update the user attribute to us.

  55. And let's let this run for a second. And while that is happening, great. It's doing it right. Let's explore this data. And excuse me, let's move all this stuff out of the way. I'll go try to find that table. So, let's go back to where we were in this FHR data. Patients. Okay. So, let's go find our patients table.

  56. I don't know which one of these it is, but let's go see. Let's go find our social security field. So, uh I think it's actually in that original patients table. Um but let's go find my user. Uh where am I? Let's make sure that I have canpi Um, great. And let's search for patients again. I need to refresh this, but you'll now see that patients field and I've got my social and great, we've got our full social.

  57. I don't know why this isn't masked. So, I must be in the wrong table. But um you'll see that now if I toggle this attribute to false, presuming that I'm looking at the right thing, I now have permission denied because I can't see PII. So the whole idea here is that you can actually take even these very complex workflows and have AI start building them for you.

  58. So um these are just kind of a few little examples. Um, I I think the sort of biggest change here is that we we are really sort of striving to make these things incredibly easy for users to use. Um, to the point where we can just call it. So, yeah, there you go. It dropped the uh it dropped the masking.

  59. Can we go mask social again as well? Um, but you can really see how easy these things are to move things back and forth in the data model. And so yeah, let's let this update. But um incredibly easy to bring these things. Let's go make this true again. End to end into the tool. And that goes from data modeling to the front end to sort of every aspect of the app.

  60. So it becomes much more about trying to articulate the things that you want to do and the types of cleanup that you want to do versus actually having to do all this stuff by hand. But again like would emphasize you still got the front end for doing all this stuff too. So if you ever need to build fields from the front end we can take the right of this column you know comma 4 and you know last for SSN you've also got these workflows from the front to save these to the workbook and you know you're now going to be modeling from the front end backwards from the back end forwards.

  61. Um, and you've sort of got AI as a tool available to you at all times everywhere. Um, way more work to do. We'd love to build more intelligence, you know, style files into these things, but this is something that has already sort of changed the way that we are doing work internally and can probably make you substantially more productive in terms of sort of governing these things over time.

  62. Ernesto, anything else you wanted to hit here? Um, I think you got all the things. I think the the last one was just the um autolearn and and just showing that for one second and yep the query um and there are a lot of cool questions that I've answered. Um blobby on the homepage is not a feature flag.

  63. You can just go to settings AI chat on homepage. Uh we didn't turn it on for existing customers just new ones. Uh but you can just turn that on. Yep. There was also discussions around like hey do I do it in the IDE or do I do it um in claude or somewhere else and I shared our brand new uh omni claude skills uh repo y um and I don't know the answer to this one you may not either but templated filters do you know if blobby can do that kind of level of hacking yet?

  64. I actually have no idea. Um I mean look for the goal is Yeah. Yeah. That's exactly right. Like everything here you can see you know I'm being a little cheeky but um we've got the sort of inline learning that says great this user says always filter to country UK. You can actually look at suggested edits to the model.

  65. There's a lot of work to do here around like how we digest these things, how aggressive we want to be with them, where we put the context. Very active area of development for us to learn from these logs as well. Um, let's go really quickly try a templated filter. I actually have no idea. Uh, there's actually a user here, Carson, who says, "Blobby helped me add templated filters last week."

  66. So, it's there. Okay. So, uh, let's go. Uh can you make me a new view that is products dynamic? That's called users dynamic. I know that table better. Uh that is select star from users uh in the SQL. uh but also has a templated filter to filter by country uh in the view definition. I if it can do this, I'm going to have my mind blown because I I feel like I'm not even really describing this very well.

  67. But let's actually see what it does. Um cool. So, it's going to make a new view that's select for star uh with a templated filter for country. I feel like this is a very common workflow. Okay, so it's it's getting close here. It's got our templated country filter. Um, okay. So, it's doing with a bind actually. Um, I probably would have written this as select star from users where with a a parenthesis.

  68. Um, but let's now go see if we can query this thing. So, let's go explore and let's go browse all views. Now I've got users dynamic and let's grab gender. Whoop outside of the order items topic. Oh, sorry. I'm in a topic. Let's go to all views and fields. Uh users dynamic. Let's grab uh state and user count and let's filter.

  69. I mean this is just such a trivial example, so it's a little bit silly. Um, our suggest looks like it was a little flaky there, but yeah, you can see this is actually getting pushed down into users dynamic. Um, it's using a bind, so it's it's cheating a little bit here in my opinion. But yeah, like I the idea is that we are passing the docs to this thing and letting it go ham.

  70. Um, and what I would say is like if there are areas where you feel like it's not actually picking up the spirit of how things work, the goal is very much that we can train it with all the things that we have and teach it to write these things tactically. Um, so yeah, it I'm kind of constantly surprised at how well it can pick up these concepts and things like that.

  71. Um, would also flag we've got the full docs in blobby in the front end. So um a lot of people are not aware that I can say you know I can go into our AI experience and say you know can you tell me about templated filters this is completely unrelated to anything about modeling but uh would just flag that you've also got the the complete docs in the tool here as well and this is a lot of the stuff that we're sort of building things on.

  72. So if you ever need help um these are really nice starting points. Awesome. Um I don't see a lot more questions so I am just going to share a couple of resources. Um uh we have this thing called guides uh in the docs. So we have written guides specifically around industries and use cases and we're going to continue to uh add to those.

  73. Let me just uh paste those in the chat. Um so those are really good. I already shared our um brand new um Omni Claude skills and we also have some blogs and we also have a session next week specifically on AI quality uh on the 18th. So um yeah, thank you all so much for joining. Thank you Colin for uh vibing with us.

  74. Of course. Cool. All right, take care y'all. Have a great week.