
Hawkfry guest demo - embedded AI app
Excited to share a guest demo from Jamie Fry at Hawkfry. We take a look at a complete embedded AI-for-data experience - including some classic BI and lots of AI interpretation and query.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Perfect. Let me just get set up. Okay, let me screen share. Oh, I've just got to reopen Chrome. Sorry, guys. Give me a second. No worries. In retrospect, I think I should have invited them to a Rome room first to get everything set up, but there we go. We'll know for the next Don't post this part on uh LinkedIn Colin when I'm reciting the uh pros of Rome.
Got to cut out all the tech glitches. Yeah, sorry about that. It's because your room doesn't support uh the browser I use. I've had to switch browser and reenable everything and switch off. There we go. Perfect. Okay. Can you see my screen? Yep. Yep. We're good. Awesome. Cool. So, uh, what we've got here is, um, an application that is got Omni embedded and we're trying to demonstrate how, um, we're using AI within data analytics workflows.
So, anyone can access this. They can go to the link above. They can sign up, get a free account, and it's going to generate a user for them, unique user space, and they can basically try out the Omni platform in an embedded environment with um some focus on some of the AI features. So, a lot of the companies are asking how do we bring AI into BI and my view is that they're kind of becoming one and the same.
So, the whole purpose of BI is to help companies make the right decisions. and the platform really shows how you know they're converging to uh rather than being separate tools. So the biggest challenge is really making AI feel native to business intelligence rather than bolt rather than a bolt-on. So we don't want people to think now I'm using AI.
We just want them to get better insights, faster answers and more powerful tools just as like their normal work. So the way I've split this refresh there is um there's there's essentially three paths here. There's the what we call AI dashboard commentary. So this is me hitting a omni dashboard, but we're using the AI uh viz in there as well to comment to to do commentary and insight generation on on the dash.
We've got the ask AI questions which is us embedding the chat AI endpoint. And then we've got build analysis which is of course an embedded workbook of Omni um but with um an overlay onboarding overlay to show uh how you can go about using AI there. So if I start with this one here you can see it just goes straight into it.
And on the top you've of course got a chart. And as a normal user you're going to look at this chart and you're going to think you're going to try and interpret this. Um context on the data we're using on the website is uh we're assuming it's a SAS uh product and it sells um uh machine learning um AI endpoints and solutions to customers.
So in this case I'm looking at the uh compute that certain endpoints have and the revenue per customer. So we have a recommendation engine, a deal probability engine, a price recommendation engine and of course the amount of compute helps us determine both the cost usage to us as a company um but also the the level of usage.
So when I I look at this as a customer uh sorry as a a product owner or someone who's trying to do some kind of price pricing um I might see that the conversion analys an analysis has pretty high amount of compute kind of in the middle generation for for revenue whereas our price recommendation clearly has kind of a mid mid midMP compute but a high amount of revenue per customer.
I could interpret this a number of different ways, but actually under here is AI interpreting it for us. So the beauty of this is um I can guide the viewer of this dashboard to where the gems are, where the the insights are. So it's kind of correctly picked up. We've got some pretty good things and also some problems.
So you'll see at the bottom here, we've got pretty high usage and and low revenue. And the AI has also worked out that the seats by proportion of compute is quite high. So if we were to scale up and um scale up the prospect Intel endpoint, we would end up with a very expensive uh very expensive um feature there.
Um and actually it's not really being used that much either in terms of the amount of customers using it. Whereas with our um conversion analysis and our price recommendation, we have pretty high revenue per customer using it. And then if you look at the number of seats using it, that's a high again a high usage, but if you were to divide the number of seats using it per the the compute, it's quite low.
So it's quite cost efficient as well. So that's like a premium feature there. High revenue, low usage. So from this I could try and take it from here and try and figure out different pricing models or different ways that I might want to uh use these these predictions. And for anyone watching this who's using Omni this is using the AI viz and all we're doing is we're just giving it some additional context in the prompt.
So we're saying uh you are an analyst, you are analyzing, you're trying to find anomalies and insights based on this information and you can feed this more this query behind this can be have a lot more information in it than the charts on the dash. So it helps the user out more because when they look at this dashboard, usually if I was trying to get all this information out in in a dashboard, I'd have to have a lots of different tiles, lots of different drop downs and filters for them to try and find these different types of insights.
So I can feed a really big query with lots of columns to this and it can decide what to use and what not to use in the context of also showing the charts above it. And in this particular case, if I was then going to I don't know, change it to electronics for example or manufacturing or something like that.
Don't know if we've got any data for that. Maybe not. Go with manufacturing. It's going to update the as well. So now you can see there it's changed the the findings. So I quick can I ask you a quick question? Um yeah, this is really cool. The for the prompt behind this AI summary, did you prompt it to return like a structured table like this or did it decide to do that?
Yeah, so this will change unless you say this is the structure I want. So I've specifically said I want a markdown table and I want you to um find anomalies and if you find an anomaly I want you to categorize it by low usage, high usage uh or hidden gem. I haven't actually given all of these. I didn't tell it inverse pattern and I didn't tell it growth potential but but you you told it to basically like structure your analysis output kind of as a table versus like what we can see down here more of like the paragraph form which is yeah the reason I left this down here is to show like if you don't really give it much of a uh guidance it
will do this right so sometimes it will be a hit sometimes it'll be a miss but if you give it a particular persona and then this is the structured output I want it's gonna get it right most of the time, which is quite nice. So, the reason this is quite important is because dashboards are no longer uh prescriptive anymore.
People set dashboards up because they're trying to answer a particular question and then or they're setting a dashboard up in a way where it's quite complicated because they're trying to give a self-service experience for someone to try and dig in and drill in themselves. But you could just you could literally just feed as much as you context as you want and a big query to the AI here and that can do most of the work for you before you then have to go on to the next step and decide where to go from there to to action the insight.
So that's the kind of first one there. Of course, everyone's probably seen chat like this as well where you can ask AI. And I think this is a good example of um helping both business users who don't quite know have a problem or an opportunity or they just have a question to ask, but they don't quite know where to go and start.
There might be there might not be a dashboard that's built for that particular use case and they might not be the type of person who wants to go and build something or be comfortable building an insight. So, of course, having natural language here is is pretty good. So, you could say something like how uh show me revenue by using the 2080 rule.
So, 2080 rule is of course the para rule that 20 well 80% of your revenue comes from 20% of your customers. So, you can see there it's picked up on that from the logical language model. And actually when I asked this earlier, it gave me a slightly different graph which was easier to read. But if I go here, you can kind of see it's still given me that.
So these are the top 10 customers by revenue. And you can see in this case, it hasn't given me like a bunch of extra calculations like it did when I asked it earlier. So that's where um as a user, you might decide then to say, okay, you know, add in some counts and things like that. But this from here I might then decide to click new analysis and of course go into that that workbook view which a lot of people are more comfortable with when they're using a self-service platform.
But I think this the aski um chat here so you can see there it's kept my session there. Um, I think that provides uh a bit of go a bit of a safe space for um business users who are never going to be comfortable using a workbook view like this. And I think we'll end up with a lot of people just interacting with BI through this natural language.
And the beauty of this is it's sitting on top of Omni's semantic layer. So for anyone kind of watching the video who is using Omni, you can just embed this end point and not necessarily expose the rest of application if you don't want to. But you can also then allow people to drill into the workbook uh like it does here, which of course comes onto the the build analysis section.
And um you can just see here I've got some overlays which uh are like onboarding overlays just to show people where to click when they're in this. So, this platform was also built to give people an idea of how to use Omni if they never used it before. So, if they want to come in and then just test it out, see what Omni is all about, when they first log in, it's going to show you these tutorial screens just to kind of give them a quick steer into where where to go.
And uh I don't think I need to show too much more on this because this is quite uh most people watching this will will understand the workbooks here, how to use it. But for anyone who hasn't used omni, this is kind of where the AI is integrated to allow us to speed up production of insights. So this is more commonly used by data professionals who are in this workbook layer and they want to speed up just the creation.
So a lot of these things here like positive MMR, negative MMR and the impact, a lot of that was created with me just prompting the AI and then adding it to the model. And it's a nice little segue into people who haven't really had any kind of formal data analysis training or want to kind of get into trying to do that in their day job.
They can come in here and just ask the AI to create to create them a chart and then from there they can kind of use the AI here on the left to kind of assist them in how to go about yeah getting insights off of their data. Um, I think most people are familiar with, of course, it also being built into the filter and of course being built into the formulas here.
And that's where I really see that's where for me that's where this really works really well because AI is about bringing people uh it's about not letting people leave the workflow. I don't want people all the time going to like claude or chat GBT doing stuff there copy pasting things there and then coming back into where they're working.
The way this is going is you build AI where the user is is conducting their their workflow. So in this case I'm doing my analysis in Omni. I want my AI to be sitting in Omni and I want it to help me with all the the different different areas. So write formulas, write a filter or just create a chart.
So this site, anyone can come in, come in, sign up, use it. It's powered by um Omni, of course. It's got uh Mother Duck in the background for um so it's hosting Duck DB for the for the data warehouse. It's just built in like a React Native. Um back end is Nex.js. Uh we've got Postgress for um just a couple of tables for storing users information.
Uh most things are done um in memory. So we've got a temporary cache which allows it to follow the workbook usage. So if I click on the aski again, you can see it's gone back to the workbook where I navigated from workbook. Um we're using the uh Omni SDK for most of this in fact actually for all of it.
So specifically the embed SSO dashboard, embed SSO workbook and embed SSO content discovery um endpoints are being used stateless back end. So, we're not doing any session storage. The beauty of using Omni here is it does everything for us. So, you know, I don't need to reinvent the wheel. Uh, Omni is doing all the cookie storage there end and doing the session management, which is great.
I just have a temporary inmemory cache um just to help with these workbook mappings and also u determine if these overlays pop up or not because the first time you come on these uh pages the overlays will pop up as a bit of an introduction and then we just temporarily restore whether they've done done that or not.
Um but that's basically it. Um really clean app experience. Thanks for sharing that. Yeah, no problem. Any questions from Ry? Not not really a technical question. Also, nice to see you on video, Jamie, after interacting in Slack for some time. This is super cool. Um, but I one of the things that came to mind, especially when you're demoing Colin, like how you're looking at the question data is like as an analyst, you said the word safe space, Jamie, I think that that really resonated with me and it'd be curious to see if that just opens up more communication with users that may feel a little bit shy about their data literacy and that sort of thing.
And that, you know, a side effect of of of, you know, not only getting the answers they need is just like really a better match between the analyst team and the end users. Yeah. So I think everyone gets imposter syndrome right in their job. So um it's so it becomes more amplified as well when you're doing something that's a bit out of your comfort zone.
So if you're like a product owner for example and the use case I was showing there was trying to figure out if the API endpoints were were priced correctly. Um, it's pretty scary to kind of go in and try and do some data analysis, come up with a hypothesis and an assumption and then you think, okay, I think I've I think I've answered my question, but I could be wrong.
And then you got to go and present those findings to someone and someone could pick that apart. It could be in a nice way, of course, but it it's still you're a bit you're not very confident really in taking something you're not you don't do in your day job on a daily basis. sitting in a meeting and saying, "Hey, I think we should change the pricing here and I've done this XY Z analysis, right?"
Um, so most people would um go into the workbook and they would try and use the interface and get some insight, not really not be very sure if they've actually um ended up with the right the right answer. And then they would probably go to their data team to validate it and verify it and that kind of takes time and you kind of takes you out of your workflow.
So having the AI there to ask questions, you know, I'm using have I used the right revenue um column here. What else could I ask and do here? And of course in Omni it's got context of the topics, it's got context of the fields. It's um and it's harder to get things wrong basically. Um and I would probably also say the the thing which I'm looking forward to is trying to add some personas into the AI.
So, I'd love to be able to package up AI personas like a revenue analyst or a product analyst into Omni and then basically um like you saw with the dashboard AI commentary, I was giving it a persona there and on on what it was look on what it should be looking for. I'd love to be able to do that on the rest of the platform.
Um and again that will make give people more confidence then in doing their own discovery of of of data because they'll they'll know then they've got you know uh there's a revenue analyst persona that's grabbing this information um and they haven't got to you know try and try and verify it themselves then that makes sense. Hey Jamie.
Yeah. under the AI commentary. Are you able to share uh the context that you gave for that AI summary? That that was super cool. Um yeah, I actually shared it with a client. I share with clients a lot and they just tweak it slightly and it gives a really good insight then different domains. I had one hitting uh a client that does a lot of transactional and marketing emails and it was coming out with well your soft bounce rates are high but your hard ones are low so x you should consider checking xy z and it was quite domain specific which I was really surprised at.
So the the large language model itself pulling from its training that be it clawed or whatever we were using um is pulling that context from the large language model in into the into the um the output which is really cool. Mimi, did you just do a bunch of iteration on the prompt itself or did you like how did you go about that strategy to get to that that thing that can be tweaked but produces nice results?
So the way I usually do this is I just start by typing out into like claude or chat whatever you want to use. This is the prompt. This is what I want to get out of a prompt. It's going to be going to an LLM. Write me the prompt. And so I'll use AI to write the prompt first of all, right?
And then I'll take that from there, put it into Omni, and then I will iterate it on what I need. So I always use AI to talk to AI first of all. It's it it gets it right most of the time. It kind of does 90% of the work, which is funny. I can see Rob laughing there.
It's the way the world's going, Rob. Do you want me to take you through the lead genen stuff? So, this is probably the bit which uh you wouldn't want on the demos um recordings, but it captures um it captures people's emails and I'm using that as leads for myself and also for Omany. So when you sign up, you get an email and then there's like another two emails past that.
So it's like a 7-day funnel of of emails and um it's obviously trying to get people on a call with me and then if not then I try and funnel them to omni to omni website. So and then it ends up in uh in Mark's um Mark's team as well and in the T's and C's. It's got all that there where we can do that.
And we're seeing the first referrals come in through Uler. Exactly. Yeah, that's the manual bit. Cool. Um, thanks for going through that with us. Thanks, Jimmy. Um, yeah, please. Sorry to cut you off, Colin. Last question. uh you said something that that kind of stood out to me which was you were like oh and this actually makes it harder for people to to get the right answer but one of the things with um you know using AI to generate the queries is like how do you actually validate that it is the right answer?
So uh I mean it's interesting that you kind of flip that and you're like oh you're you're more likely to get the right answer using this strategy. Um yeah so I wonder if you've got thoughts on that. Yeah, I do actually. So, um this is this is fun funny for me because I've been in the machine learning space for like quite a while.
So, before like um the LLMs came out and whenever we used to put machine learning things into production, the question the expectation was always it would be 99.9% accurate. But what was interesting to me was existing systems they had weren't that close to accuracy. they were like, you know, 75 80% accurate because there's humans doing them. So there was always a higher expectation on accuracy with from the AI than there was from their existing like human processes.
So um that's still kind of the case. People expect it because it's a machine. and it needs to be like very very accurate and there's definitely some um mistrust still of of the outputs of an LLM because um you can just go and give it a generic question not give it enough context so it won't actually be able to give you the right answer cuz you don't give it enough context but I think that's shifting a lot I'm seeing a big shift into people trusting AI more and that's where I think with Omni because you got the the semantic layer there so people know there's been a lot of work put into giving context to the AI.
I'm seeing from clients they're being a lot more trusting with the outputs in Omni than they are if they were just going to Claude and just typing in a question and get an output. So I'm kind of seeing that switch. Um so that's kind of where where that that came from.