Omni AI field creation

Steven Talbot · Friday Demos · May 23, 2025 · 7:43

Blobby is getting smarter again. Now you can build fields directly from the AI query (of course inside the permission envelope of the core app). This means on-the-fly aggregates, derivative…

Try it yourselfThe full week on docsaimodelingworkbook

Transcript

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

  1. very not ready for prime time yet, but it's like a proof of concept. The other one is maybe is also not um ready, but is maybe a little more ready. Uh so we have right this idea of query fields um and like they're part of the query and we want AI to be able to generate them potentially.

  2. So see if this works. I asked it to make this new field like country state and uh just make an average aid for it and there's no average in my topic here. There's no there's obviously no country state field. Uh and it almost did it. Sometimes it puts it in the query. Sometimes it doesn't. Definitely need that's that's part of the tuning.

  3. So it made the fields but then it didn't use them. Um let's see if I just go Oh, and then also the error retries are not super well handled in the stream, but it's interesting. It basically just like stops and tries it again. Um, there you go. It kept counting the query for some reason, but it did do it.

  4. Um, and yeah, it can do can do wild stuff. Let's see if this works. to say. So just for fun, make a new metric. Average age mode six to the third power. Then use a query to find the state of the highest value for it. Yeah. Really hope it uses this one in the query because I don't know how it would possibly do that without using it.

  5. There you go. It made a thing. Uh that was it's totally useless, but it shows that it's listening. There's the field. can uh add it to the workbook and make sure that it did the right thing for this very silly thing. Uh looks roughly right. Um so that's those are two that's a new capability we're trying to give the AI.

  6. Um, Stephen is is it possible to put an AI box in the data model where I could ask this same question and it would just make a field in the file. Um, it it uses uh not like totally I mean anything's possible, right? It it won't just be an immediate follow from this because this is using a slightly different format.

  7. Basically, we like we give the AI a slim down version of our model as its fields. Um, and we then ask it to generate that back to us if it wants to make extra fields because otherwise very worried about it getting confused. Um, so it would just be a slightly different but yes like this the AI certainly can build simple models with I I'm I guess I'm not even really asking about doing it in the data model itself because I generally just don't want to be there.

  8. I'd rather be on the workbook page. But I'm wondering if there's a like I'm trying to make a field in like the add field modal. It might be nice to be, you know, have it try to yolo making the field for you. Totally. Because if you're like if you're making a field like this, I I literally was uh I just chatted Ariel like I frequently now take spreadsheets and paste them into Omni so I can use the AI to parse them because writing like the snipping calcs is actually hard and AI is really good at it.

  9. And this seems like an amazing candidate for doing stuff like that around data modeling which can also be kind of painful. Like if I if I need to create like a date diff between now and you know uh this the the first of the month uh the month previous, you might just want to go into the edit modal and say like can you make this field for me?

  10. Yeah. Yeah. Um I mean for Yeah. So for now it would that would in some ways be almost easier to do than this just other than like wiring it up which I guess is always the hard part. So it's harder but um yes it's doable. Um I have a question. Sorry Colin I don't know if you were done.

  11. Uh what are the Yeah. What's like the scope of the types of fields it can create? Like is it just quick aggregates? Is it fil like can it do filtered measures? Can it literally do any type of modeled field like case stuff or it it it can't right now make a filtered measure I don't think because I didn't tell it how um okay if we asked it to it would probably write an aggregation with a case when just not a native filtered measure but it can do a case statement in there and stuff like logically book.

  12. No idea if it's going to work. No, it might just add It's going to just add a filter. It's just going to add a filter. Yeah. Need the right. You want to get like show me percent of California compared to total or something. Yeah. Yeah. Yeah. Yeah. Um so, but but what I'm hearing is it's not limited in scope to just like quick ads.

  13. like it can do some more complex operations. Yeah. Yeah. It can do in theory it can write anything that it could write in SQL. And does this go to the workbook model or the query model? Workbook model looks like query model. Uh query model. Okay. Yeah. Okay. Yeah. Um same thing works on chat the standalone chat like does it write to query model of how does that work if it's not workbook back?

  14. Chris describe what the query model is for listeners. answer. I was for anyone watching this, the query model is essentially a small model that only exists on the query that will hold the fields but not force them into the workbook unless you decide it's a good idea and it'll appear up at the top of a field picker.

  15. Yeah, Stephen, my question was uh what dialect of SQL is it going to use? Uh definitely a flaw right now. We don't we don't tell it what dialect it's in. So probably okay, but very most of the I mean we definitely need to pipe that through though. Very simple to pipe it through. Um what the heck did it just do?

  16. Mhm. Oh, it's probably did a percent on it did. But where's the California field? Oh, it Wow. I think it like did something that's slightly illegal in the UI like put the California field in the query. S sidebar though Stephen this is what I think we had that ticket where does it does it need to understand what's actually the values for to properly calc things it definitely it got a little confused there so yes separate questions sidebar is like how should we think about the capabilities it has versus people who are concerned about keeping the AI on the rails of the data model like can it do anything beyond what a restricted quer could do in the UI Okay.

  17. No, it can only do what restricted queries can do. So the bounds of this is it can create fields but the same amount of things a restricted query would be able to do anyways which is still bounded by the data model. Yep. Um and it would be Yeah, exactly. Okay, cool.