Passing dashboard queries into AI context

Gustav Staprans · Friday Demos · August 29, 2025 · 7:57

We're experimenting with bringing all of the queries from your existing dashboards into AI context to improve quality and relevance.

Transcript

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

  1. All righty. I'm doing an AI demo today. And uh disclaimer, this is non-deterministic. So hopefully it shows what I want it to, but the AI might might not validate what my demo is. But uh my demo is essentially that I added this new feature flag called AI content as context. You can append that to any URL on the chat page, the workbook, the dashboard, and it's going to anytime you ask a question, it's going to scan through your content on the instance and use that as context to answer the question.

  2. So, I have one Omni app chat here uh with that flag and one without it. And I want to do this on production data because it's more generally uh easier to show complex queries on production data, but it's it's gonna, you know, hopefully look at uh data that's nonsensitive, assuming it does what I expect it to. So the question is, can you show me how much each each support person is taking on each week and the average per week overall time?

  3. So bit of an ambiguous question, but really I just want to see support load by a person on the support team. So let's ask that without the flag and at the same time let's ask it with the flag and see if the AI produces different results when it's using while it's loading. When you say take the content, what do you mean?

  4. It'll look at all the dashboards and queries built on the topic that it's generating a query for their titles, descriptions, subtitles, and then the queries without the data. Okay. And then it'll will use that to feed into the result that it produces. So this is what it produced with the flag here. And let's come back. And it actually produced, you know, at the service level something that seems similar, but let's actually dive into the data here.

  5. So without the flag, it looks like it has the assignees, the counts per week. Um, but because it didn't pivot the data, it only goes back a thousand rows. So you only got to March 10th. Um, whereas in this one, uh, I guess it only it didn't pivot it as well. That is a bummer. Let me try running it one more time.

  6. Um, but I would expect it to have seen the content that's doing something similar to this question and then realizing that it can pivot and potentially add a total as well um to get a better result. If it doesn't work the second time, I do have like a previous demo that I recorded showing this. No, I've got it wrong second time.

  7. That's a bummer. Um so I'll show the previous demo that I that I did right before hopping on. Um which is I asked the same question uh and without the flag I got this answer which was uh not very helpful. It was uh yeah very hard to read for a human and the summary was somewhat useful but again the data got truncated.

  8. Um, and then when I asked it with the flag, it got a much stronger result, which was uh breaking it out by week using a pivot on each individual person taking support tickets. And the place that it got this result from was we have a support load dashboard here, which produces this chart here. And so if I were to click explore from here on this generated chart, I would have gotten to this page.

  9. And then if I turn it into a a stack chart, it would look something like this. So um sometimes the AI still doesn't, you know, get the exact correct result. Um but in this case, like the meaningful difference was that with the content it pivoted and added a total. Um whereas without the without this flag, I've never seen it be able to get a pivot or add a total.

  10. It always just produces this um this basic basic result. So bummed it didn't work on the demo, but I'd encourage if you're seeing the AI produce results that aren't quite what you'd expect, maybe throw this feature flag on and see if it improves the output. um stuff is the theory the theory here is that existing content is a good like a training set because if someone's building dashboards and they're getting a lot of usage theoretically that dashboard or that query answers the question they were intending to ask and so the theory here is use that as context to like as a shortcut to somebody going and generating a bunch of sample queries manually.

  11. Yeah, that that's exactly the idea. Um and this is an experiment, right? So if it doesn't work, I'll remove the flag and remove it. But um I'm trying to get some validation against like really complex models. Can you use um content to get it to produce a better result? And of course during demo it's it's falling over right now, but I'd be curious to have people try it and let me know how it is.

  12. Gusta, could we like and I don't know if it's at this time or thought for future, but is the idea that we could also like link to that dashboard or that piece of content in here? Yeah, you could. So, I've been thinking about how to show that and um one thought is like sources. So, when you generate or get a query, it'd be easy to put in like a list of three to five sources for oh, it pulled this query from this dashboard and this query from this dashboard as inspiration.

  13. Yeah. And then would it only be on I guess could you just ask it more generally or is it more specific to you know the analytics based question like hey I want to see all the reports that you know you answer whatever revenue questions with could it be more generalized or is it more specific at this point?

  14. It's more specific right now. Um, okay. Yeah, it could be more generalized like I Yeah, it's set up to become like a search function if we want it to be sort of in in the way that you're talking about. Um, but really for now it's just about validating can we improve query results with content. Perfect. Thanks. Uh, this is Becca Gustaf.

  15. This is Rad. Um, I was curious how you're thinking about approaching like prioritization. Like are you thinking that like the content would be like the first thing that the AI would look at or would it come like after other things that are set? Um it's additive so it's still going to use your AI context and your sample queries and everything else that is already there.

  16. It's just if you have this flag it's going to drop it in with everything else kind of like as an equal factor in determining how to generate the query. Um it it does prioritize content and queries based on view count right now. Um but we could also do things like you know favored dashboards have a higher waiting.

  17. So their queries are going to be more impactful in generation and then currently the scope would be anything that user has access to from a content perspective. Yeah. Yeah. You'll never it'll never be putting stuff the user doesn't have access to into the okay the samples or the example queries. I guess I was just more thinking of like curation or like maybe there's things I've built but those shouldn't be included because they're not right vetted by the company yet or something like that.

  18. But right now it's just everything that the user has access to. We're we're going to iterate on it. Uh this is yeah the highest level we want to use usage to effectively imply context. So may maybe sort of uh you know that that that will be the the sort of the the broader trend. I'm super excited about the direction.

  19. Um, and I I've got one one uh more smaller