00:00.00 jamesmontemagno Before we get started on this ai infused merge conflict. Let's thank our sponsor this week and every single week sync fusion listen sync fusion has been sponsoring our podcast since we began this podcast because they have the world's best ui component suite for building powerful and amazing web desktop and mobile applications. Listen. Whatever you're building you need to infuse not only ai like Frank's Goingnna talk about on this podcast but you need to infuse some sync fusion controls into your app charts, graphs calendars, grids data charts com on boards. All the things have everything you need go to syncfusion.com/mergeconflictsyncfusion.com for slash merge conflict I use them myself in my applications and you're going to love them to check them out at syncfusion.comfor/mergeconflict and let's get on with the Frank Kruger let's talk about some chad g bt because that ran won tongue on name may. 00:54.40 Frank You know I start to wonder if people are like blocking chatchi PT that the the word on Twitter do you do that? Do you mute it. 01:02.99 jamesmontemagno Um, well you know I've had a very fascinating time with chat gpt because I've watched okay before we get into today today's topic let's talk about how to use Chad ebt now I've watched people use chat ebt. And then I've seen people really use chat ebt and the people that really use chat b jet gp like really know how to use it and I'm going to do a little. Ah ah we don't we. Don't do ah we don't do a ding very often for this Ah fine gentleman. But. 01:20.64 Frank O. 01:36.20 jamesmontemagno The one and only Mr Scott Hanselman ah has indeed he does. He's my manager at work ah and ding ding. We have been working on Krs and planning docs and all this stuff and. 01:39.54 Frank Ding. He definitely deserves it. Oh sucking up now I love scott he gets 2 dings ding ding. 01:55.35 jamesmontemagno To watch Scott use because he like understands it he he's like you where he I don't I don't I don't even know I don't know what he's doing but he understands it so he knows how to like manipulate it in a way to get responses that he wants and it is wild. 02:10.16 Frank Um. 02:13.93 jamesmontemagno It is just like mind-boggling amazing to watch him use it because I'm like I want to be more like you and using because I don't use it at all I don't got time for that but like to watch him in in like and it's like infuse randomly he oh just did this thing and then we' were on a teams call and. He shared his screen which was the chat ebt window and he was just like feed it this and he's it's like can you do this to it. Can you do that to it. Can you summarize this can you make that shorter can you how about this but and I was like whoa this is wild and then like for it to to watch the output transform based on these commands which is just programming commands at the end of the day right. Has been really fascinating. So I have not blocked any of the Chet Gbt niss yet at this point. Um, but since our original conversation I've watched people evolve it I've watched other people by the way just like throw. Ah, blob of text in it and just expect it to know what you want it to do and that is not as successful. 03:16.76 Frank I've you know I'm I been sure if I'm a pro user I use it a lot but I'm I Even sure if I'm like handsomement level I have to get does he tickt to that I'll have to like find a video of him doing it. You suggest that too. Yeah. 03:26.72 jamesmontemagno He needs to Handsomeelman if Scott Hansman if you're listening what you're not, you need to drop actually. Ah yeah, that would be a great Youtube video like how to actually master. 03:39.65 Frank Yeah I just I want to see the master at work here I I think I'm good at it though I have a vague understanding how it works how to prompt it for kind of what I want um but I am polite to it still I still say hello I say good morning. 03:42.21 jamesmontemagno It's impressive. 03:52.38 jamesmontemagno You. 03:56.91 Frank When it's done responding I always say thank you I use up my money to be polite. So I'm not a power user in that way I'm not manipulative I still treat it like a well sent champion because who knows who knows James. Ah, anyway, so um, as a semi pro user I was getting a little frustrated with the web the ui you you don't use it too much but you know the web ui right? It's the text box at the bottom of the screen. 04:22.55 jamesmontemagno Um. 04:28.60 jamesmontemagno Yeah, it's it's in the 1 nice thing about the web ui is it has a nice little history and you can like revisit them and you can think of them as ah as conversations right? So in your I messages or in your inbox. You can think of on the lefthand side. You have a lista conversation so like hey I'm going to be talking about coffee or I want to be talking about code or I'm going to be talking about ok rs for some ungodly reason. Um, and then you could revisit those and and the nice thing there is imagine that you're having a conversation with Frank right? and. 04:59.89 Frank Yeah. 05:01.11 jamesmontemagno Talking about houses for some reason and how years is falling apart but you would continue to you would continue to have that contact so you could kind of pick up where the conversation left off so that is 1 nice thing about it. But at the same time. It's not like it's doing. It's ah it's a box that. 05:07.22 Frank Ah, thanks. 05:18.70 jamesmontemagno That you input and then there's stuff that comes out of it. 05:22.39 Frank Yeah, fair enough I mean it is a simple thing like that. It's funny how even simple Uis though. Simple data models like showing a number on a screen you can still make it complicated. Um, but my biggest complaint is I think they took the text messaging app. Metaphor a little bit too far the box at the bottom is kind of annoying I am totally blanking right now there is a popular writing app. Everyone's using um and it does predictive texts. So like as you're writing a paragraph. 05:40.84 jamesmontemagno A. 05:56.71 Frank You can say please write me the next paragraph and it'll just a I up a next paragraph I think that's a much better ui than these other things. But that's all to say um I also didn't like the web app because it makes you log in sometimes I hate logging in James it's the worst. 06:04.10 jamesmontemagno A. 06:13.10 jamesmontemagno Now. 06:16.59 Frank I even I pay them money and they still make me log in I wish I wish I could pay them so enough money that I didn't have to log in and so that's what I decided to do because you know what they released on. Well I got the email I think Thursday March second you know what the email is that I got. 06:36.42 jamesmontemagno No I don't know what I didn't get any email How come I didn't get an email. Um. 06:41.25 Frank You're not no enough mailing list. Sir I Guess ah it was open release of the chat Gp Api So I'm like oh finally I can build a better Ui because I'm getting tired of the web app. So I'm going to build myself. 06:48.50 jamesmontemagno Now. 06:59.12 Frank Chat Gp T app just a little bit better. You know, just ah, just it just needs to be a little bit better because the web app's terrible. 06:59.17 jamesmontemagno Hit. 07:07.32 jamesmontemagno No, that makes sense and what's interesting about this is that you tweeted some stuff today and actually in the last 2 to 3 days I've been investigating open Ai sdks for dot net and specifically. There's a lot of things in openai. Um, and there's the azure openai service that we talked about which is leveraging azure and the things there but the 1 thing that um I stumbled upon recently was something called ah be al batalgo. 07:44.80 jamesmontemagno Patal du but you know about this batalgo patalgo. Okay, so it's a new git package. It's a dot net sdk for openai I cha g bt g p t three and Dali um doesn't have whisper yet. They might have added whisper which I don't more I want to get into in this podcast I I don't even know what it is. 07:49.35 Frank Nope But I don't know tell me. 08:03.60 jamesmontemagno But it features chat Gpt openai support for azure dolly models completions edit Mars editing or embedded embeddings files fineunes moderation and tokenizer support I don't know what any of that means but I was investigating it because there's a bunch of different openai I sdks and I was. 08:04.72 Frank Um. 08:21.98 jamesmontemagno Asking luis and some of the other ml folks at Microsoft like hey like what do we have stuff. Is it an official one from openai like obviously you know from us being azure right and open a eyes their own companies I was like that but I was like os are one from openai for dot net or they have sdks or like how does this work. So I'd imagined that sensors new gets that there must be an api available and sure enough what you're telling me is that there is an api that these sdks are using I assume. 08:52.50 Frank Yeah, you know that? ah this is hilarious. We have so much to talk about now a now you tell me this library exists after I did all my own of course after I did all my own Api bindings and all that kind of stuff. 09:01.56 jamesmontemagno Oops. 09:09.21 Frank Fortunately, um, open Ai has a very simple rest api. So it's really not a big deal to just you know, create some htb clients and shoot off some messages. No biggie. Ah, but this library is super cool because it does a whole bunch of them so you don't have to do a whole bunch. Um. 09:19.47 jamesmontemagno Yeah. 09:28.50 Frank Darn I'm jealous but I do love also the release notes here. Ah I am going to ah quote the author here bitalgo Patelgo hello bitalgo sure yeah, let's talk. Ah so quote. 09:37.21 jamesmontemagno But Talgo but but talgo. Do you want to come on our podcast. 09:47.75 Frank I Know we are all excited about new chat Gp Apis So I tried to rush this version. It's nearly four a M here be aware. There might be some bugs and quote. Ah fantastic. Um, yeah, and whisper is that um speech to text thing. 09:54.61 jamesmontemagno Love it. 10:06.32 Frank Um, so that's pretty simple to support too that you just have to upload audio files and they give you text back I don't know about this library. But I think we just did everyone a service. Everyone go use this library. Don't do it the way I did and actually read the docs so you know what happened James. 10:10.40 jamesmontemagno Oh. 10:25.89 jamesmontemagno I Like that. 10:25.91 Frank I yeah I started a maui app and yeah, yeah, because I'm like I'm going to write me an app and it's going to be a one day app and you know how one day apps go they always take just one day and roughly like ten or fifteen minutes into working on it. 10:34.51 jamesmontemagno Yeah. 10:43.56 Frank I had completely overblown the feature set I had no idea what app I was writing anymore. It was like I'm like it's a chat Gpt app but like what does that mean? what. What features does it need what interaction modes does it need should have speech to text and all that kind of stuff and I got a little bit stuck does that happen to you ever. 11:06.30 jamesmontemagno Yeah, pretty much always I would say you know I think that the the aspects of like I'm going to build this thing and then you like start it and then you're like okay now I'm at a point where like what's yeah, where do I go from here type of situation. 11:18.33 Frank Yeah. 11:26.70 Frank Ah, it was bad and so I just kind of ditched up like okay Frank I guess this won't be the one day app anymore. Um, but then I was just it was just kind of percolating in the back of my head I'm like I still want to like practice. Using the api I just want to get used to the Api. So. It'd be fun to write something against it and then it occurred to me, you know where I spend all my time typing at the command line James I'm always at the command line. So I decided to write a command line chat gpt interface. And spend half a day working on it because I'm a silly person and I couldn't help myself. 12:00.75 jamesmontemagno Well this makes a lot of sense. You know you could just have a browser sitting there next to your command line but you know I think that the the interesting part about a lot of the Chattpt applications that have come out and all this other stuff is that there is like a website but we've always said Frank. Just because there's a website or a progressive web app doesn't mean that it's you know, real on mobile or even on desktop to some extent because people like to install stuff on their phones and you right? You're on your desktop. You don't want to have to open a browser and use a bunch of stuff you're doing other stuff in the Terminal. Or Command line or whatever you want, whatever you want to call it and you want to interact for some reason with ah chat ept apparently now I would be really cool if you could not only integrate with chat ept but you could also like so tell it to like generate images for you like imagine you're like oh I. 12:37.88 Frank Yeah. 12:56.13 jamesmontemagno Writing a blog post and then like oh can you like you know a monkey drink drinking coffee looking over you know a horizon as the sun sets I actually type that into a program so but it came out pretty good actually. 13:10.27 Frank Feature Creep feature creep. 13:12.98 jamesmontemagno Um, but you know what I'm saying like you know, ah you need all these things at your fingertips Now. What I think is you know, interesting about what you um, the path you travel down is that it's not a path that I would ever travel down because as all of our listeners know I despise the command line and I say.. There's not a gui then it shouldn't exist. That's just me though. That's just me. 13:36.69 Frank I agree with you I agree with you except gooey for these text heavy things just aren't that great I guess I don't know how I feel like I'm just my words are failing me and how much I despise that text box at the bottom of the screen. 13:45.13 jamesmontemagno If not. 13:55.82 Frank It's because it's at the bottom of the screen That's not where the text box should be have you ever tried using it on the phone. It's really bad like on the yeah, you can't even like barely click in that blocks let alone move the cursor do anything. 14:02.20 jamesmontemagno No I haven't oh I I did recently fun experiment I recently attempted to use the ah bing chat Gpt. Integration which does multiple things it does like you know, not only chat gbt but it also does the web search stuff and I recently am fascinated if it can generate blog posts for me or like get me started with blog posts so I was on my phone. Because for some reason I was on my work profile. So I didn't have access to it on 1 a profile but I had it on my phone profile. So I was on my phone and I was attempting to to do it and the nice thing about the bing search and the bing chat is that it gives you prompts so it kind of like has some contacts where I was like oh can you write me a blog post about this and then it's like oh can you like. 14:52.54 Frank I. 14:56.82 jamesmontemagno It'll give you recommendations. It's like oh you obviously want this thing to write radio a blog post like we'll give you prompts to feed it basically to do stuff so it's kind of cool in that Regard. It's like Ai feeding Ai and it spit a bunch of stuff out, but it was a you know it's not that the it's not that there was something wrong with the the bing chat. It's just that I was on my phone on this little screen. Trying to get a bunch of text input and output and do recommendations and it wasn't a delightful Experience. You know what? I mean. 15:24.10 Frank Yeah, it's not great on mobile on mobile I Really feel like that's sort of a speech to text is going to come in handy because it's no one wants to type this stuff I know you no one really wants to say it out loud either. But it's a little bit better than typing it in my opinion. 15:38.54 jamesmontemagno Yeah, yeah. 15:42.54 Frank Yeah, and that's kind of where I decided to go with um the appy app. But um I thought I would also work on a few other things because there's a tricky part of context with these chat Chatty chat Apps ah you wanted to remember what you said the last time. 15:59.25 jamesmontemagno Is. 16:01.58 Frank And so if you come in Raw like you come into being raw or Raw whatever you know what? I mean no cookies. No History. None of that stuff. Um, you're a blank Slate. It's going to generate a good response but it has no other context or than what you just gave it. But then if you ask. If you continue talking with it. It has the context of the previous conversation and I was wondering like how Ah how do you represent that with a command line app. It's a little bit weirder because I don't really you know I don't want to like say like start chat and chat you know I didn't want it to be. Ah, Command Command Line tool that'd be terrible. 16:38.75 jamesmontemagno You didn't want to be like you know Gpt dash t one yeah dash c convo id the id equals convo one and then something else. 16:46.64 Frank Start right. 16:57.48 Frank Ah, yeah, yeah, yeah, using Git as the antiroll model for how the command line should work. Ah so what I decided I just I stole a page from Bash and all the other shells. You just keep a little history file in the background you just kind of sneakily. But away and yeah and I just tag. Um, all your data. It's in your user directory you can find. It's no big deal. Um, and I just take it with a timestamp and you know the text you sent the text that you received and from that when you do a new query to it. 17:16.18 jamesmontemagno Ah. 17:34.36 Frank You can include that context the last bit of a conversation and then it runs so that's good I want to complain but I just want to say that's good first. 17:37.10 jamesmontemagno Um. 17:45.75 jamesmontemagno So okay, so you started a command line app. Ah, and this a dot net apps. This is a dot net like council app that you wanted to create to ah to be in the command line now. 1 question I have about what you just said is. Every time you um, send some text to chat ebt are you for all intents and purposes appending onto a big list of not only inputs but outputs and you have to feed. All of that into chat gpd. 18:26.90 Frank I did I wanted to avoid that. Ah, you could um, but it has limits. Ah so one big limit is the total of the history and its response can be no bigger than 4096 tokens. So I don't know call that like. Ah, 10000 words ish I don't know the math there roughly 10000 words so you would hit limits there but the bigger limit you hit is you pay per token ah those tokens cost money James. 18:45.33 jamesmontemagno Um, okay. 18:54.53 jamesmontemagno Um, who at both input and output of the tokens. Wow Wow. Okay, and you don't have any control on the output by the way to some extent. 19:00.11 Frank Yeah, they get you both ways. Yeah right? Um, Ah, there might be in the Api limiter. But in general you don't want to you Want to let it finish. So Yeah. You're right? Ah, you're you're gonna depending on your question. You can get short responses of it but quite often it it likes to be a little bit verbose so you're paying for that. Also at some point I'd like to get back to paying for it because that's a whole another kind of interesting Thing. So My complaint there is that you are. 19:19.42 jamesmontemagno Um. 19:33.51 jamesmontemagno Okay. 19:39.10 Frank Um, ah there there would be ways to write these networks so that you wouldn't have to pay quite so much to keep a conversation going but you would you would store the embedding generated from the previous conversation and feed that into the next one but it's not how they designed it so we're kind of stuck with this payment model and all that. So. What's the solution japes ah I keep that history file and I only pre penned the last I I forget what I said at that but 10 or 15 minutes 20:07.10 jamesmontemagno I've got. 20:16.47 Frank Worth so it's kind of like a conversation. So the longest you can let the conversation lapse is ten or fifteen minutes and it'll prepend otherwise so that you can keep that context rolling I like it. It's it's a it's a heuristic but it's a heuristic that. 20:27.10 jamesmontemagno Okay I like that all right. 20:36.40 Frank Kind of works because ah I was trying to think of like you and your friend are sitting in a room how how long can you let a conversation sit before you have to be like let's talk about that again, you know I I figure like ten fifteen minutes people can kind of remember the previous conversation. 20:46.24 jamesmontemagno Um, yeah. 20:53.81 jamesmontemagno Yeah, now that makes sense I think that? um yeah, it's even in a podcast right? How how long do we go on a podcast before repeat like the beginning of what we're talking about the podcast. 21:05.95 Frank Yeah, so I also I as a terrible pro feature I Want to put like a dash p argument on it and it'll just show you how much money you spent for every time it runs because that that would be fun. They never show you that in the ui. 21:23.13 jamesmontemagno Um, yeah. 21:25.69 Frank Okay, so now I let's talk about pricing in an even weirder way I am also paying for chat Gpt Pro Did you get enticed by that at all. 21:39.37 jamesmontemagno I What is it? What's pro don't even know of course there's a pro. What is the pro. 21:43.39 Frank Pro Pro Pro is of course the subscription. What are all pro things come on. 21:48.29 jamesmontemagno Um, oh I've doing. Yeah I mean I didn't get the email Frank I didn't get the email. 21:56.33 Frank You You got to get on this email list I don't even know which one it is I get the email. Um, if you've used the service before in the past the free version of it. Ah. At some points especially when it was getting popular there just in the beginning. It was fail whaling all the time and you just couldn't use it and so they introduced the pro service you give them $20 a month and they. 22:16.70 jamesmontemagno Ah. 22:25.79 Frank Promise it'll farewell less and it'll actually be reliable and it'll just work and it is. It's a lot faster when you pay for it that way. Ok right? But when you use the Api. 22:32.86 jamesmontemagno Okay, so you're on the pro Pro Plus plan. 22:45.32 Frank It's different. You get charged for Api calls. It's not a part of the pro plan as far as I can tell please someone correct me if I'm wrong and so I'm in this weird place where um, I'm paying the pro plan so that I get the web version. Nice and fast and working. But then if I wanted to use my version of it which you know I've only had it a day literally cut. We're we're talking about this like it's brand New Hot Off the press. Um I still prefer it over the have you eyes. So I've been using it all day. Ah, it's a different price model. 23:23.43 jamesmontemagno Um. 23:23.85 Frank And so it's it's kind of funny. Um I'm curious what people will do will people be getting Api Keys and getting custom apps or will people be paying for the pro versions because I'm about to cancel my pro version now. 23:38.56 jamesmontemagno Interesting. Yeah I'm trying to figure out well in pricing also is there's different things. There's chat Instruct Gb. There's fine tuning models. There's the embedding models this stuff that we're talking about earlier right? and you pay for those different. Aspects of it I can't find the Gpt pro thing I see Gpt Plus as. 24:04.77 Frank Ah, not chat Gpd Pro must be on there somewhere I'm paying for it. Hopefully oh I'm sorry I've I apologize everyone I've been calling it pro this whole time. 24:09.31 jamesmontemagno I see there's a new subscription plan chat Tpt plus for $20 a month you receive a number of benefits. Okay, plus. 24:22.42 Frank Plus but it's not related to Tv you can't call it plus. 24:25.11 jamesmontemagno Yeah, that's what I thought that's what I was like oh you know pro I think Pro plus. 24:31.15 Frank I apologize everyone and I apologize James. Okay, so yes I'm talking about the place. Um, but I think I'll cancel it because ah you know what I'm going to live the command line life. 24:36.29 jamesmontemagno Um, gotcha. 24:42.71 Frank Until I build an app also but until then I think I'm just going to live the command line life. 24:45.93 jamesmontemagno So how did you let me ask you a little bit here a little bit on the creation of it. So ah, first out before we even get into how you call and how you got into making this thing and of course we'll link to the open source project in the show notes. But 1 thing that I still didn't get. Clarity on was you obviously have different conversations with chat gbt on different topics. So how in the command line. Are you distinguishing that like did you create a command to to um your pick. Basically what? ah chat you're picking up from or do you just say like a new session or like how does it actually work like or is it just 1 ongoing thing forever with chat Gpt. 25:36.37 Frank Right now. It's 1 ongoing thing forever with chatchy pete chat vd. But with that ten ten minute thing. So if you haven't talked to it in 10 minutes you kind of by default start a new conversation from fresh. So if no. 25:44.99 jamesmontemagno Ah. 25:48.66 jamesmontemagno And you can't pick up. 25:55.62 Frank But the history is there So these are all just little command line options I can add I was trying to decide. Um which things are actually needed and so far I I haven't felt the need for that one if you want to switch topics. You just say Okay, let's talk about this now you know you just say that to it. 25:59.85 jamesmontemagno Um, okay. 26:15.30 Frank And it's fine at switching topics. It has no problem with that and so there's no real need to start a new conversation. The only real benefit to start A new conversation is to save a few token dollars but you know the prices are actually pretty cheap I was complaining about it. But the. 26:27.37 jamesmontemagno Um. 26:34.80 Frank Per token is pretty cheap. The amount that you actually use it. You know couple times a day. It's fine. So I appreciate you asking I can definitely add some command line options like you know, start new conversation resume other conversations go browse conversations. You know I could pop up. 26:52.92 jamesmontemagno This is just. 26:54.00 Frank Miguel's gui but these are all things that I would put into like the app. Not so much the command line though they might make it in this. This is kind of like a fun little test bed of what features do I actually want and a thing like this. 27:07.83 jamesmontemagno Yeah, oh my favorite part of your entire application is that it is one file and it is exactly 200 um lines of code not less not more. 27:17.91 Frank Um, rocking it. 27:25.68 jamesmontemagno I'm not sure if you specifically made it 200 because that was a good number that agreed with chechi because there's white space in here and there's comments. Ah so you know you were in control of this but you decided to create this as ah, one single file. Ah, using I mean it's very oddly rudimentary in a weird way. Um, it's like a a request and a response right? yeah. 27:59.50 Frank It's the simplest app on the planet. It displays a number on the screen. Well um I wanted to do I was going to try to be fancy. 28:03.20 jamesmontemagno Um, and okay Frank. Um. 28:15.28 Frank And do one of those cool um single file compilation ready to run binary executable and distribute it that way And in fact, if you go look at my releases I did do that? um. 28:24.72 jamesmontemagno Have. 28:33.11 Frank There's a weird hiccup with that and I didn't really think this through on Mac um, so you can create you know, binaries compile and they all work. They're fine. Um, but if you just go and download a binary off the internet Mac Os tags it with all sorts of you know. 28:53.70 jamesmontemagno M. 28:53.80 Frank Dangerous danger will Robinson kind of flags and things like that and so I did this release that was actually uploading my yes beautiful single code file single executable I wanted a single executable from my single code file you know, nice and perfect and. 29:11.68 jamesmontemagno All. 29:12.72 Frank But Mac wouldn't run the thing so I was like well I give up so I just I made it a dot net tool because those dot net tools work great. You can just if a machine has dot net installed on it. You can just go to the command line dot net tool install blah blah blah and it all just works I love it. 29:30.55 jamesmontemagno It's pretty cool I Do think that global tools I don't understand how global tools ah updating works very well. But beyond that I know there's like a command to do it. But it's you know? but I think I Maybe there's a command like. Hey look at all my global tools and tell me if there's an update I'm not positive like a new package but they new get packages for all intents of purposes correct. 29:53.24 Frank Yeah, that's all it is ah there. There's something you you put it in the project file you say like pack as tool and that's like all you have to do and then you call dot net pack at the command line and you get a new gett package you upload it to new Git and you've made yourself a global command line tool. 30:09.12 jamesmontemagno Wild. 30:11.40 Frank Pretty great I love it. Yeah, the smallest caveat is you have to have dot net installed I did want those executables stupid Max Security model always get in my way. Yeah, so it's a rudimetrie app for sure. 30:20.56 jamesmontemagno Love a good love a good executable. 30:30.80 Frank The biggest thing it's doing is keeping the history and talking to the api. That's all it does and it would it would be probably a hundred lines of code if you had told me about this library. You know a week ago. 30:41.71 jamesmontemagno Yeah, so so what happened here? Why is your application 200 lines of code frame because it's just if there's a package. Yeah, okay. 30:51.33 Frank It's just a coincidence. It's just a coincidence that you're being silly. It's to underly to code because it's just a web api call and a lot of Jason Parsing 31:04.10 jamesmontemagno And that's pretty much it right? I mean I was looking at it earlier and yes I noticed in your code you did a lot of ah systems Tax Json So I was going to be super super quick and yeah on the bottom of your code files like all of the Json Property names. But take up like half of the things right? unfortunately to get you know it would be a lot smaller but because of that you know they request the response and the usage and the errors and stuff like that and that's pretty much it. That's kind of cool. 31:33.76 Frank Yeah, that's why um I mean it's super cool that the library exists to talk to openai Ai but it's it's really not a big deal are like dot net is so powerful now I probably don't need a lot of those json property things I just. 31:41.78 jamesmontemagno Are. 31:49.73 Frank Don't know the rules of when I capitalize this and when it doesn't capitalize and because I don't know the rule I override the rule and just put them in I'm terrible like that but better safe than sorry. 32:00.24 jamesmontemagno This is great. It's a good example of how easy it is to get into with with vanilla right? If you're this is vanilla Gp T usage. 32:10.25 Frank Yeah, 0 dependencies again I just love how big the bc hour the the library that comes with dot ne like you can do pretty much everything with it I've been having. 32:20.10 jamesmontemagno Yeah I mean the download package size is Twenty Eight kilobytes so that's pretty cool. 32:29.70 Frank It's a good tool I just want to get that binary down in size. It was ah coming out at fifteen megabytes when I was making ah I made a windows version I made a linux version I made a mac version. But. 32:44.20 Frank Be good to get that down to the four megabytes remember xamarin apps used to compile down to about four megabytes like the smallest hello world I feel like we could get these down to that size too. 32:49.86 jamesmontemagno Um. 32:53.88 jamesmontemagno Yeah, you get it down just magic. Ah you just shake that tree aggressively. 33:02.79 Frank So This is fun. Um, like I said I just spend all day in the command line and I just realized like I just want to be able to type in here and copy and paste here and so if anyone else if that sounds. All interesting to you. You've made it this far into the Podcast. So This must be at least vaguely interesting to you Ah, give it a try.. The only trick is you need to get an api key from openai which means getting an account and then once you have an account then you can get an api key. Which may or may not require a credit card I Honestly don't know the order of operations. 33:37.28 jamesmontemagno Ah, well this is good because this is kind of like developer using the tools like you know and and creating something in which you're not going to have to pay for this which is I mean besides your own personal usage. 33:48.63 Frank Yeah, exactly when I make an app. It's going to be a little bit different going to have to front some monies but this is for devs devs you can all go get your own Api keys. 33:54.17 jamesmontemagno Yeah. 34:00.82 jamesmontemagno I like it. Well we'll put links to the show notes in the show notes for all the stuff that we talked about including the pro plus deluxe ultimate ah service pack 5 edition of Chad Gbt Apis and also ask it's called ask a gpd so by the way if people are curious of how it works you. Ah, dot net ah donenet toolinsal dash g ask ask gp ask gp 1 word and then you say ask and then you ask it? That's the keyword that you picked because that's what's defined in the cs pro is as how I found out of what the command thing is I don't I know how they. 34:33.10 Frank Yep. 34:38.94 jamesmontemagno Detect conflicts but sure. Um, but ask is the one that you did so no one else can use ask if you have this and then you have ask and then you said what is um, you you have documented What is a meaning of life which I'm actually curious what chip gbt says to that. 34:53.61 Frank Also there's source code. So if you don't like the command name ask you can download and compile it pretty trivially there are no dependencies. 34:56.40 jamesmontemagno Go to bing. 35:02.49 jamesmontemagno That is a good good point. What is I'm in being vpt. 35:07.85 Frank And just that I'm I'm going to be a nerd just answer your question. It depends on the order of your path so in your path statement in your environment variable path is one of them is a pointer to the dot Net tools path directory and so whatever order that's in. 35:26.92 jamesmontemagno I like that. Okay, if I ask bing Vpt the meaning of life. Do you want it to be more creative more balance or more precise. There's there's options now. Okay here we go but it's going. 35:27.48 Frank That's where where ask will come from. 35:39.24 Frank Precise precise. 35:46.72 jamesmontemagno It's ah responding ah the meaning of life as a philosophical question that has been debated throughout history. There are many different answers to this question and it ultimately depends on 1 ne's personal beliefs and values. Some people believe the meaning of life is to seek happiness others believe in to fulfill a certain purpose or destiny. Others believe it is simply to exist and experience the world around us. What do you think? Oh what do I think um ah the meaning of life. Oh man I don't no no no I haven't gotten. 36:11.66 Frank Um, what do you think. 36:16.51 Frank Here. 36:22.18 jamesmontemagno I was I was taking a Myers-brigg test recently and there was like some things about philosophy you know, discussing philosophy and this and I was like no I don't like any of that I Really don't like deep philosophical conversation. It's really not my jam at all. Um. 36:24.71 Frank Oh. 36:35.50 Frank Yeah, oh I have ah I have an answer for you then I This is my preferred answer to this one. Ah. 36:40.89 jamesmontemagno Oh okay. 36:48.70 Frank The the meaning of life The purpose of life is to hydrogenize carbon molecules. Ah, there is a chemical state. They all want to be in and the best way to get them into that state is to create an organic process and we are that organic process writ large. 36:52.15 jamesmontemagno Okay, alright. 37:07.00 jamesmontemagno Boom there you go. Ah I guess it depends on the meaning of like my life like is it like life in general like I guess I did have more questions about it. 37:07.68 Frank There's life. 37:18.77 Frank I think out of it life. They didn't they't say my life I guess we could change it I what I wonder what it thinks the purpose of James Mont to make like this. Do they know you have you vanity checked yourself on a bing chat. 37:26.72 jamesmontemagno Oh yeah, yeah, what? what? about. I have Monty Magno's life I'll say what is the purpose of Jay's Monte Magno's life question Mark um I mean yeah, no because so so bing gb searches the internet it just searched for. James Monteminus says I'm sorry I don't have any information about the personal beliefs or values of James Montam Magna he's a principal lead programmer of the dotnet community team at Microsoft and and and it just regurtates my website and github which is cool. Um, um. 38:02.70 Frank Okay, good enough but way to cop out. 38:06.40 jamesmontemagno Well, you know I think that's what Ai is going to do for a while you know what I mean well I could do this. Let's see has how about Frank Kruger question Mark is he doing any open Ai development. 38:13.33 Frank It's safer that way. 38:25.15 jamesmontemagno Question Mark I'll see if this knows anything about you. 38:29.92 Frank There's um I did this for chat gpp and it gave me so much credit in the dot Net community for things I did not work on and I loved it. Gave me all the credit. 38:41.48 jamesmontemagno Ah, this says sorry I can't find any information about Frank Kruger involved in openai development Frank Kruger is an independent mobile developer living in Seattle Washington he started working as an embedded systems engineer moved onto a web developer and eventually found happiness as an ios developer. That's interesting. Ah. Um, that's been noted at Merge Conflict ah fm he has also enjoyed releasing open source projects and contributing to software development community tell me about Frank Kruger's work. There's like prompts now. 39:08.74 Frank did it just yeah did it regurgitate um Linkedin or something like that or just the park. Ok good. 39:14.31 jamesmontemagno It regurgitated one of our podcasts. Um, yeah says I can't really find a lot about you. Um, exactly. Um. 39:24.92 Frank Ai doesn't know about me well chatch each PT was a lot more. It just lied in a way I appreciated. 39:35.47 jamesmontemagno Um, I'll see if it knows anything about your ios apps. The thing is it's not going to know about I might know about your apps only? Okay so says Frank Criger has been an ios ah app developer since 2008 1 of his apps is called I circuit a real-time circuit designer and simulator made for students. He also developed I circuit 3 d which launched on the app store for Iphone and ipad he uses 3 d u I to offer realistic experience some other apps Frank Krueger is include color your time bruto neto pro present raconer and spin. Cube puzzle is that true. Ah interesting I'm going to go to the slash developer Frank Kruger ah I don't know this is this Ah this isn't you I assume. 40:13.80 Frank Just making things up. Nope not that I recall. 40:30.17 jamesmontemagno There's another Frank Kruger in the world. Yeah, the krueger interesting that it knew I pulled that information from 9 to 5 mac and additionally change log. So. 40:31.76 Frank Um, it's a very common German name. 40:42.30 Frank Weird I'm not sure I like these internet connected ones I like it when the neural network just makes things up on its own. 40:51.92 jamesmontemagno That's true. Anyways. Thanks! Thanks! Bing! You're my best friend? Ah okay, well. Thanks Frank for making the command line infused with Ai just why not just go into town frank um. 40:56.30 Frank Um, so citizen. 41:09.10 jamesmontemagno I'm I'm excited to see if you did use this library what you think or what libraries we have and if people want more ai gpt goodness. Let us know go to Merchconflic Fm hit that contact button. Let us know go to town else. You know 200 lines of code that's pretty cool I was pretty cool I was impressed I was like Wow. When I when when I was actually going to your project I thought it was going to be a whole bunch of stuff and then when I saw it was one file I was I was you often impressed me but I was actually impressed when I saw it. 41:43.96 Frank I'll see I thought you were just making fun of me the whole time. 41:46.11 jamesmontemagno No, no, no I was um I was legitimately impressed. You're an impressive person. My. 41:51.20 Frank Keep it tight. Thanks! It's I don't think a command lied to a qualified puts me in her category. But thank you I appreciate it. 41:59.44 jamesmontemagno Now you're welcome anytime all right? Well, that's gonna do for this week's merge conflicts until next time I'm James want to mag now the pace. 42:08.59 Frank Um, and I'm Frank Krueger thanks for listening.