
How to use Omni's AI agent to build a semantic model
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hi, this is Ernesto from Omni. I want to talk to you about our model assistant. So, we all know the benefit of model data. Um it can be a hard slog, and so um delighted to introduce our AI assistant directly in the IDE. So, um to kick things off, I have a a data set that I've loaded into a database.
It is data from Airbnb listings, calendars, and reviews. I also have a big data dictionary that they provide with that data. And what I have is just like the the raw listings table. It doesn't really have much information in it. So, to kick things off, I can just open up the IDE assistant, and um you'll see there's three different modes.
There's sandbox mode to review all changes, auto to to sort of like let it do its thing without you verifying and review to confirm changes. Let's leave it with review, which is the default. And I don't actually have a topic name, so um AI, can you help me make a topic for this this project? Okay, so it finds the schema.
It actually like said, "Hey, it's it looks like Airbnb data." Uh what would you like to focus on? Um listings is the main thing I'm going to be analyzing there. Performance, typos included. Okay, so um Perfect. Uh it says, "Would you like to create a new branch?" And that sounds great. I don't want to make any changes directly on the model, so it knows to be safe with that.
Right, and it's going to create a few useful measures cuz I kind of told it like I want to understand their performance. So, give it a second to do its thing. Okay, and I do want to make this uh because it has some great like measures that's going to ask. That's good.
So, relationships are defined. Okay, amazing. That is starting to look good. I can actually see like the files are created. I'll show you what we are working with so far. So, pick my topic. Okay, I have a nicely joined thing. It has like some nice I don't know number of super hosts listings. Okay, so neighborhood close to this.
Um downtown Civic Center Mission. Okay, makes sense. Um right, so coming back here, I want to do something else. I want to take the data from the data dictionary, which is like 83 different fields, and I want to put it into our model. So, let's see how that looks, which is my desktop.
And hey, for listings leads set up just using this data dictionary. Okay, I'm going to go into auto mode here, so just kind of does its best uh to just get it through. This is a really time-consuming task if I were to like have to try to like move each one of these into the right place, so um this is like a super shortcut to making something that's super useful both for humans to like query and also for AI to get like um some better context from.
Okay, amazing. It's like finding everything that it can. Little validation, which is great. Okay, so that's done. If we come back here, um I should have things like, you know, under neighborhood cleansed, I can actually see the encoded information already, so that's super. Uh the next thing is like this um this listings performance is like really long and unwieldy, so I can actually ask to uh could you the fields in the data Listings with a few groups.
Okay, it actually did a great job of like thinking through um like different categories, and I have it in auto mode, so it's going to go ahead and write the view. Okay. Again, validating, which is super important. Uh okay. And now, if I come back to my topic, I have some really nice um groupings in the UI, which, you know, if I'm using it directly here, it's going to help.
Um so, yeah. From here, I can do all kinds of different things, um affecting different files at once, and uh doing security things, and remember that this is all under version control. So, uh I'm not actually making any changes that are going to affect anybody. Uh I can go through a validation, etc., before I merge.
Um cool. So, have fun using our model assistant.