
Building an end-to-end custom demo
This is a soup to nuts demo of Omni with data creation, model creation, all the way to dashboards and AI querying. Plenty of Snowflake Cortex with Claude and Cursor skills alongside plenty…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Hello. Hello. Um I'm going to showcase um a little demo workflow that I've been working on. Um it's going to be leveraging a lot of tool sets that we've just been getting released. Um first is Cortex code from Snowflake and then the other is our claude and cursor skills. So that I'm going to go from having absolutely nothing to having a demo dashboard.
Um, so let's start in cursor and I'm going to authenticate into uh Cortex code. So we'll do Cortex um and I'll just log in. It's going to authenticate me in right here and I'm going to tell it that I want to um create a brand new data set. So we have zero data sets in um this schema.
So I'm going to say uh create a synthetic demo data set in analytics_pro.co demo. This is going to be a fal pod cast streaming service. I want three tables. Podcasts, streams, and users. There should be a premium and premium tier. I want to know which podcasts are the best and other analytics and um interesting listening trends. So now I'm going to set Cortex code off to create these demo data sets.
Um what it's going to do is actually first create the tables and then it's going to create uh synthetic data and upload them directly into there. So right now you can see that we have uh zero tables in this uh schema over here and it's going to go off and I'm going to tell it to create that table.
It's going to then go and create a another table. And then finally uh create another one. Now it's inserting directly into those. This is the insert right there. 5,000 rows into the users. It's going to give me some podcasts and then finally some streams. As it's creating this, it's giving me quite a bit, which is good.
Only 30 different podcasts, so not too many. very um curated uh podcast selection. So, we'll do that. Oh, uh yeah, uh Cortex code does get errors um a lot. It's not perfect. It is I've gotten a more errors than I thought I would ever get directly in here, um as it doesn't know how to write proper SQL.
Um so, there we got 96,000 rows for our streams. So now that's going to be updated. I can come back over here. I'll refresh the page. Um, and I now have um all of these tables right here. Now what I want to do is I want this to be interacted with Omni. First things first is I need to um uh grant the Omni demo ro select access to these tables.
We need to give it um select access. So we can actually query this directly from Omni. Um hopefully that's queued up right now. Uh I told it I wanted to do some analysis. So it's giving me some um uh quick analysis where it's firing off a bunch of queries for me. Um so now it is did it give me that user grant access?
There it is. Let's run that. Um, so we got select axis on that. Now I'm going to move over into my cursor skills and I am going to grab my admin skill from Omni. So, um admin and I'm going to tell it to refresh my um coco uh model schema. Now, those skills are going to do all that stuff that I would go and manly do uh right now.
I mean, yes, I can manually go into Omni and just refresh it, but just an easy place for us to just stay in one central location as it's doing all those updates. Um, now the other thing we can do is you can see I have my uh file scaffolding or or folder scaffolding over here where I can actually do local code development on here.
So, a lot of everything can be done just all from one place. So, here we refresh that schema. I'm going to go back to my IDE. I'm going to refresh this page. Um, and you can see now I have all of my podcast uh information right here. Now, the next thing I'm going to do is just use my skill to actually model this out.
So, I'm going to go over here and hit at omni modeler and tell it uh can you uh model out the um views in the coco demo schema. Make sure we have interesting measures that give indepth analysis over the streaming service. Each field should have descriptions, AI context, real fields, synonyms, all the um other parameters. Do you think that would be valuable?
Then can you create a podcast topic and add some AI context. So now I'm going to set off our modeler to actually build um this model for me. Um, this is going to take a few minutes. So, I'm going to pause the recording so it can build it up. All right. So, it actually went and modeled out um our data here.
It modeled out the users view. It modeled out the streams, the podcasts. So, if I go over to Omni over here and refresh, uh, we should see now, um, a fully built out model and podcast with descriptions, synonyms, um, and drill fields, um, all that good stuff. Formatting for all of ours, a robust AI context for our podcast.
We have a new topic that I built with an awesome context uh parameter in here. Um and our joins um so we can if we wanted to explore this in the workbook, you know, it's going to hopefully um do the join set up the joins right where if I wanted to actually query this. Got all that out the gate.
Now what I want to do is actually build a dashboard on top of this. So this should be AI ready uh from a demo perspective. U but what I want to do is actually build a dashboard. So I'm going to try something and say use this as a reference dashboard. Um and I'm going to get our other skill that says Omni um content builder.
Uh, can you build a uh executive dashboard for our pod cast streaming analytics use this uh dashboard as a style guide. So I will send that. Now I will again we'll pause for a couple minutes because this will take a little bit of time to build this dashboard. So see here in one second and we're back. Um it has created a brand new dashboard for me.
So if I click on this and I open it up, pop it open. Um and we now have a brand new dashboard with total streams, unique listeners, some comparisons, other visualizations. Now, you know, the one thing that the downside with this is that the dashboards, we actually can't format them with the API. Um, hopefully we can have that soon, especially with containers.
But right now, it's really just about building that content directly in here. It gets you, you know, about 80% of the way there and then like you're going to have to modify this. But this has been, you know, going from zero to a dashboard in under 15 minutes. So when we're thinking about building custom demos out for, you know, enterprise clients, we can be able to do something, you know, fairly easily.
And then, you know, I wouldn't mind spending a ton of time building this dashboard if I got all that plumbing out of the way with just AI, our skills, and co cortex code. Now, if they were doing something again like using semantic views since I have you um you know I could actually even utilize our um local editor here and have Cortex code write the semantic view based on my underlying topic right here.
I had it create one earlier on a podcast. So, a lot of stuff you can do for a specific and custom demo you're going to be able to do with these these these skill sets in Cortex Code. Um, let me know if you have any feedback. Happy to chat chat. Happy to chat about it live.