Calculations GPT

Richard Czechowski · Friday Demos · January 5, 2024 · 7:18

Our chat GPT integration for spreadsheet calculations. The huge advantage of building our calculations with syntactic parity to Excel and Sheets is the deep library of techniques for…

Try it yourselfThe full week on docsaicalcsworkbook

Transcript

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

  1. um I've got I can Dem out something um so at the Holiday party or before the holiday party Jonathan was showing me some interesting stuff people are doing with llms and other like spreadsheet type environments um and so I got psyched to sort of integrate U an llm with the Cal stuff that we've had building so um building off some of the stuff that Nate and I have done in the past with uh like chat DP um and then teaming up with Jared for some design information um took some time over the break to add like a new little natural language button here um so like for example I have first and last name name in here and I could just go in here and

  2. be like uh create a full name colum um this of course has a reproducibility problem so God knows if any of these demos are going to work but um it's been pretty consistent um so now like you can see it's taken the first and last name and concat them together I can click on it and see what it's doing you know it's just a concat A1 B1 with a with a space in it um so that one worked pretty well um we try another one like uh um extract domain from email and let's see how it does on this one looks like it worked so it wrote a little bit you know like this would be harder for me to write off the top of

  3. my head um so it actually is like a nice little accelerator here um and then for something maybe like a little more complicated um I've got States here and um I could say like uh provide a TW letter abbreviation for each state um this is it I'm intending for this to fail by the way so hopefully it will be reproducibly fail um I can see that it it failed it generated uh like kind of a weird thing here it didn't do um A1 to it did the whole column but at the very least it does give me some stuff to work with so it it told me that we couldn't you know create the formula what the formula it tried to create was and what

  4. the error was um maybe this should work but I blocked against it so U but let me let me just create a new column and uh I can just throw that in there and I say like oh okay well what I wanted was this um and it gives me just the first two letters which is not great because in the case of like uh Missouri and Minnesota they're both Mi so I'm like okay well that's that's actually not really what I wanted um so maybe I want to revise this and be like okay I know that how I would write this is with a really big ifs statement so I can say like using an if um provide typing uh the standard twetter abbreviation for

  5. each state and I I think like telling it well I want you to use an if and I want the standard two letters not just any old two letters um then it'll try and you know create a little bit closer to what I actually want I think let's find out taking a little longer because it's a bigger bigger thing to think about I think maybe all right well so I got these look pretty good AZ for Arizona so I can check and see what it did and it wrote this enormous uh if statement for me with each state and its abbreviation so that's like exactly what I wanted and you know saved me a bunch of time CU although I could have written this I

  6. real don't want to um so that one's that one's a pretty cool use case uh I think like the final thing to show here is um that we added a get suggestions here so if you're stuck and you're just kind of curious like what you could do um you can hit that give suggestions it'll load up a handful of suggestions based on what you have here um they might not be great because I already extracted the domain from email here but maybe it'll tell me like a full name column or you know something like that so I've got some standard deviations link of email here's your concat first name last name um so it tells you what the function is or what the like um

  7. function it would create is and uh I'll just do first name and last name again just to show that you can click on those and they work um and you'll also notice that it creates a title for each calc so I'm not manually titling all these Cals it's like giving me a ballpark of what each one is um that I could always edit later uh anyway that's the demo that is so cool Richard uh this suggestion bit is exactly what most people are asking for that's that's amazing they're really simple I think that's my one problem is the suggestions right now are like it's all just like count or average or whatever and I don't know if that is that what people want or do

  8. people want like a more robust series of those I feel like from uh at least in the field like the people who are ask asking for this are for simple people with simple question it's probably just helpful to see examples of like the syntax too that might actually be the thing to optimize for is to show like a a variety of different kinds of examples like between Aggregates and string parsing and that sort of thing yeah like a moving average just kind of shove it in yeah something statistical would be cool yeah we could always get more specific right now I'm literally like just saying like given you know these fields like what are some things but we could always say like if there's you

  9. know specific fields or you know specific kinds of things we want we could always uh make it a lot more specific I think or even just like show me statistical calculations show me string operations that sort of thing yeah yeah but even what you were showing like Jonathan and I were looking at it super quickly yesterday thinking about SDR like outbound list building marketing list cleanup all that kind stuff like there's so many use cases and people that that could help even as is because that is painful yeah I'd only say just make the suggestion uh toggle a little bit more like pronounced uh