AI calculation functions

Richard Czechowski · Friday Demos · December 1, 2025 · 4:11

This is a new idea to open up AI functions to our calculation language using the AI native functions in the data warehouse (think Snowflake Cortex or Databricks AI Functions or BigQuery AI…

Transcript

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

  1. And then finally, I was talking to Peter and Sav and they suggested that maybe we could get um some of the AI functions from Snowflake and data bricks and get them to like work in our table calc language. So I have here that like just a city name. This is the data bricks connection and I've added an AI classify function here that can just you know accept arguments and then a list of things you want to classify.

  2. And so it's able to classify these cities as small, medium, large. Um, and this extended out to like some of the more some of the other ones they had. I've got like a sentiment one that you can do something similar with. I've got AI autocomplete. Um, and summarize. This is all in data bricks. And then snowflake. I've got a very similar set where I can use classify extract.

  3. So this will extract um like names although I think it's funny that it didn't successfully get slim shady just chicka slim shady out of that. Um again sentiment AI complete and AI summarize. So um and then thanks to Kathy and Steven for helping me with the uh sort of nitty-gritty details on the back end there. And those are my demos for that last one.

  4. Um is there one function in is there one omnial that will map to the appropriate database um function or is it just the name of the database? Yeah. So it it is our name for that function and in the back I'm like connection based mapping to either data brick snowflake for now for what they have and then those functions don't show up at all if you don't have a connection that supports them.

  5. So I implemented a like a dialectbased um like bal filter B basically uh because I think that BigQuery may also have something similar that we can do. I just did not have time to layer that into. But like I think that that idea that where we we support some of the more broadly supported functions and um and then the other thing I've done is if you're downloading them in Excel for example, we'll just take the results from your database uh and shove those into Excel.

  6. We won't, you know, try and translate because Excel doesn't have um a similar function. And then there's something else on that line. But um yeah, so uh so yeah, we should we should be able to make them map to whatever as as they get developed. Oh, that was the other thing. They run in DB. So like obviously a lot of our calcs we try to get them to run, you know, in ductb, but these are all like only DB functions.

  7. So there's probably some edge cases if you're trying to combine them with the full calc library. I wouldn't be surprised if some of the stuff that's stuck DB specific can't be nested inside of them. Um anyway, another experiment. So I wouldn't necessarily say that's shipping immediately. But anyway, good for me. It's so nice. And you could even imagine too like accelerators for some of them.

  8. Like the the sentiment analysis is super cool and like maybe we make it even more user friendly by like auto autogenerating it or something for like a big big piece of review text or something like that. Yeah. Yeah. Yeah, I wish I had a better data set to demo on. I I just had a bunch of random stuff.

  9. So, I'd love to see what people can actually do with them. Yeah. Yeah. The other big thing that we have to figure out for those is how we lock them once they're run. Um, which will tie back to sort of like the input table stuff because you generally don't need to run these things over and over again.

  10. You want to like create the data and then effectively store it somewhere. So, we're going to have to figure out that path, but we want people using that. I don't know what they're doing uh behind the scenes, but what I found is the first time I ran it um it was it took a little bit and then it after that it seemed to return cash and I I it will still cash but the database cache is just not something that we can really rely on.

  11. It's like it'll still expire after a period of time and then be slow again. Yeah. Okay. Um okay. Anyway, that's it for me.