
Blobby learns requery
Another new skill for Blobby. Now you can requery previous queries through intermediate query views. Useful for regrouped aggregates, or other types of more complex analyses. Still some…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
And then there's also a request in AI to to have it be able to do more like kind of requery stuff. Uh and this is still very raw and you can tell it took I had to really be like no use this specific parameter. And again I don't know whether that's because my prompt engineering bad or because like it doesn't actually need to do this uh complicated thing to answer the simple question.
Um, but again, yeah, I literally just got this prompt right like a minute ago. So, we'll see if it gets it right this time. Um, but yeah, like the idea is that it can run this query and then using this query uh kind of generate a second query saying like, hey, generate a query in this user's in the user's topic.
Okay, it says it thinks it did it. I think it did it. Yeah. So, look, it it ran this first query. It did country and average age. Then it ran the second query. And you can actually see, right, it's from the user's topic, but it's got this thing here, this average age by country. Like, this is not a thing in my model.
It it made this on the fly, shoved it in a query model, uh, and then made this query with it. So, that proves that it works. you had from this like very nasty nonreal user prompt. I had to give it TBD on whether it will actually trigger this in the wild and do the right thing uh when it needs to when it needs to.
Uh so so we'll see. Um quick question Stephen uh you mentioned this works on chat this and X lookup on chat. What is the behavior on the workbook AI uh in workbook? So there's nothing. So yeah, that's a good question. Um, this in theory should just work, I think. Um, what's it what's it actually doing with requery?
Like what's happening behind the scenes? Uh, it is every query now optionally, but I think it will pretty much do it always. When it generates a query, it gives it a little name, which is just like a little internal identifier. So this query under the hood has some little name that was generated as part of it.
Um the over here um when it generates the query and it calls the tool generate the query in the topic there's in the user's topic but reququery on the query name whatever this name was internally. Uh and then the the tool implementation in Omni creates a query model. Um adds this query view. Basically does the equivalent of the workbook like create query view in that query model just here and then generates the query in the context of that query model.
basically tricks the AI to say like this is in the topic now generate it as though this was a normal thing in the topic and it generates it just in that query. Uh like and I think if you go in here I think I made this work and nothing really weird happens but something really weird. So since it's in the query model is that actually Ernesto asked this in the chat.
Uh does Blobby do CTE? Yeah, CT I mean this this uh I mean I can't guarantee that workbook isn't going to be weird. Also, like I said, I rebooted my server and VIT is having a really hard time coming back from vacation. So, this is my first time loading the workbook. Uh yeah, right. So, there it is.
CT, right? So, that's the um that's that's what's happening under the hood. That's sick. And then sorry while you're here, XLOOKUP on workbook. Uh will Blobby do an X because I don't recall if we let it open multiple tabs on its own. It it will not yet do the full open tab on thing. Uh it's possible that I can't remember exactly what I told it last week, whether I told it not to do this XO thing.
having conversations with Blobby and your dad's coming. Uh yeah, but um that's how I think of it now. Uh yeah, I can't remember whether it it does whether it avoids doing this entirely on the workbook or whether it will do it and it's just a little weird. It definitely I think it's No, no, no. Okay.
Yes. When generating calcs in workbook, it doesn't do this. It will pass in the other tabs as available to make which it already does. Yeah, it did improve this. Previously when it passes in the other tabs, it didn't bother to tell it which fields map to which Excel columns. So you basically had to be like do an X lookup for column A from the, you know, other query, which people weren't going to do.
Now you should be able to be like pull in average from the other tab. But yes, as the way is right now, it won't do this for you on chat. We would have to basically on the workbook, sorry, it won't do it on the workbook. We'd have to allow new tab on the workbook and basically tell it, hey, if you want to do an XLOOKUP on a query that doesn't exist, make a new tab.
Use that tool and then Xookup on it. Cool. Got it. Thanks for thanks for explaining. We should definitely chat later about like I know opening new tabs is is a new thing on the workbook. We should definitely talk about it. I know there's some use cases. We have certain customers that would be very very excited. Oh yeah, we should definitely do that.
We'll do that. just probably not as the first cut of this. Yeah. Very cool. Thanks for answering my questions. Sure thing.