
Slack Bot Chart Rendering
Bringing the full power of Omni visualization to the Slackbot.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Um, I'm talking to uh I you know, like a staging version of our OmniBot. So, I'll write Omni me. Can you graph stuff? Let's see what it says. This might be a little bit slower than our production version just cuz it's talking to my instance, which is uh you know, sandbox instance. While that's happening, I'll queue up the next question because I already know what the answer should be.
Um Maybe I'll just start a whole new thread because this is taking much longer than I expected. Oh. It decided to ruin my demo for me. Uh so, yeah. It uh it decided to just create a query to give me a demo of a chart that it can generate. Um and you can see here obviously the the chart was dropped in line as an attachment to the thread.
Um let's see if this guy is working. Still working. Yeah, so um this works using uh an AI viz API endpoint I created a couple weeks ago. Uh basically we grab the the viz data off of the initial uh prompts and then run it through a static generator. And so, that's how we're able to attach it as part of the thread.
Um very similar uh probably the exact same pipeline as what Dan demoed earlier. Um and here's a slightly better example where you can see we split by um my user my month-over-month user growth by traffic source. Uh so, yeah. This is actually um deployed. Uh it does require a feature flag, but should be out there. It should be ready to be uh played around with and and tested in production.
I think confirm it's live on our own instance of the Slack bot. Um Nate, um I'm curious like the the sort of stylistic rendering choices there, is the expectation that they will match what you would see obviously it's not an interactive viz. It's a it's a rendered viz, but like is it going to match sort of like what you would see in the scheduled delivery of a dashboard?
Like I'm just kind of curious like are we do we expect there to be any divergence in terms of just the style, formatting, you know, padding, that kind of stuff? It should match My understanding is it should match like whatever defaults you've set for your org. Um it's a good call. To be honest, I did not explicitly test that.
But I the one thing that it will not match is um unfortunately, Slack's API is uh it's pretty restricted. And so, you can't get information like is the user's Slack client in light or dark mode? And so, we for now, we are taking the stance that we're going to always render with a white background uh because otherwise our labels often are not visible.
Um But beyond that, it should just respect your your defaults and if it doesn't, that's a thing that we'll obviously address. All right. Um I can't see backstage, so I'm just going to assume no one's back there and I'm going to do my second demo. All right. Okay. Second demo. Um Um.