The AI Daily Brief: Artificial Intelligence News and Analysis - 6 Ways ChatGPT Code Interpreter Is Already Being Used

Episode Date: May 4, 2023

Code Interpreter is a new plugin for ChatGPT that is allowing for amazing data analysis and visualization. In today's episode, NLW looks at 6 early use cases, ranging from San Francisco Crime Data to ...mapping Lighthouses to basic video editing.  On the Headline Brief, NLW covers: Microsoft Bing Upgrades Meta's ChatGPT malware warning  Google Deepmind CEO on AGI

Transcript
Discussion (0)
Starting point is 00:00:00 On this episode of the AI breakdown, we're covering the new chat GPT plugin code interpreter, which has the AI community on fire. Before that, however, headlines from meta, Microsoft, and Google DeepMind, whose CEO says we could see AGI within the next few years. This AI breakdown was originally released on YouTube. Welcome back to the AI breakdown brief, all the AI headlines you need in five minutes or less. Today we start with Microsoft being getting a huge number. of upgrades around its chatbot, and I got to tell you, I'm still not over caring about what Microsoft is doing, but here we are. In short, Microsoft has announced a set of Bing chat plugins. Now, this follows from ChatGPT doing something similar. In fact, later on the main breakdown
Starting point is 00:00:49 episode, we're going to talk a lot about one chat GPT plugin called Code Interpreter. But anyways, Bing has followed suit and is offering all sorts of new ways for partners such as OpenTable and Kayak and things like that to integrate with Bing. So that you can use that same chat GPT style interface or chatbot interface to go out and do the things that you would normally do. Other updates include multimodal answers. So answers that include visuals, charts, graphs, and other non-text formats. On top of that, they're also trying to add in some UI upgrades, such as chat staying contemporary
Starting point is 00:01:24 as you click around the web. Lastly, there is no longer a wait list for Bing chat. That means anyone who wants it can get it. Now, a lot of folks have pointed out what Pete from the neuron here does, chat GPT and BingChat keep colliding, and it's unclear how this will end. Why pay for Chat GPT Plus when BingChat also uses GPT for. If you're paying for Plus, why use BingChat when ChatGPT will have browsing soon? And now both have plugins. Is it a battle or just an eventual convergence? We'll have to wait and see. Speaking of ChatGPT, Meta is warning about ChatGPT imposters,
Starting point is 00:01:55 and this feels like it was absolutely inevitable. Their latest security report says that there's a lot of malware that's now masquerading as chat GPT or BingChat. So if you are seeing an advertisement or just a promotion of some new chat interface that uses these terms, be extremely cautious. Next, we turn to some updates for AI developers. A few days ago, McKay Rigley wrote, Replit is a sleeping AI giant, unbelievably excited to see how their new custom code models perform. They're already experimenting with stuff like auto app generation with AI agents. It was already the IDE of the future, but it might be the AI company of the future too. That pronouncement got a little bit more clout today as Replit announced that they developed their own new LLM. This is meant to
Starting point is 00:02:38 supercharge the development process and it's being released under a commercial ready open source license. Now on top of that, a company called Modular just released a programming language called Mojo. It's being described as Python-like and it's specifically designed for AI applications. Mark Tenon holds here says what programming language will run a GI? Well, it might be Mojo. He says it's truly paralyzable, fully compatible with all Python packages, and has speed boost from types but not required. I'm seeing a ton of chatter about Mojo, even though it has just come out. Speaking of AGI, a new interview with Google DeepMind CEO, Demas Hasabas, is just out,
Starting point is 00:03:15 and he says that we could see some form of AGI within the next few years. He says the progress in the last few years has been pretty incredible. I don't see any reason why that progress is going to slow down. I think it may even accelerate. So I think we could be just a few years, maybe. within a decade away. Now, Demas does say that we should be a little wary, saying I would advocate developing these types of AGI technologies in a cautious manner using the scientific method, where you try and do very careful controlled experiments to understand what the underlying system does.
Starting point is 00:03:44 The challenge is whether that's, of course, possible in a world where every company is competing to get these new technologies out faster than their peers. That was one of the concerns expressed by Jeffrey Hinton when he left Google and gave his first set of interviews a couple days ago. Finally, speaking of concerns, there is a meeting today at the White House between Vice President Kamala Harris and the CEOs of companies like OpenAI, Google, Microsoft, and Anthropic. So we will see what comes out of that and whether it sets a path in terms of how the U.S. might think about regulating or at least engaging with AI going forward. That's it for today's brief, but stay tuned for today's AI breakdown. This is the most excited I've seen the AI community since AutoGPT first showed up on the scene.
Starting point is 00:04:25 and it's because of ChatGPT's new plugin, Code Interpreter. All right, so the main thing I want to do in this video is show you six ways that I'm seeing people use Code Interpreter in just the first few days of it being available. That includes data analysis and visualization, academic research, support for development projects, visualizations that are really interesting and fun, basic video editing even, and approach to data analysis that leads to business strategy. Before we get there, I just want to do a brief intro on what ChatGPTT, plugins are and what code interpreter is specifically. So chat GPT plugins are effectively the way that third parties can use chat GPT and build their functionality into it. So you see here a set of
Starting point is 00:05:09 the plugins that they launched with, Instacart order from your favorite local grocery stores, open table, provide restaurant recommendations with a direct link to book, right? So you can do these things from within the chat GPT experience. But chat GPT itself, or open AI, created a couple of plugins itself, and one of them was called Code Interpreter. Effectively, what Code Interpreter allows you to do is to upload some set of data and then have ChatGPT spit out analysis or visualization. And that visualization part is really big. Obviously, that's a really new capacity. So let's move now to the six use cases that I've seen, starting again with data visualization. This one has gotten a ton of attention. John Backus
Starting point is 00:05:54 uploaded a CSV of San Francisco crime data and asked ChatGPT to visualize trends. So you can see number of incidents per month over time. You can see crime hotspots in San Francisco. You can see what it suggested they should do with analysis of the data set. So John says, give me 10 ideas of trends, visualizations, and analyses I could do. So you're not even required to know what analysis or visualization you want. What ChatGPT came up with was day of the week analysis, hourly crime trends, seasonal crime trends, police district analysis, crime resolution rates, top crime categories, crime category trends, crime clustering, comparing crime types by location, correlation analysis, right?
Starting point is 00:06:36 Like really interesting stuff. You see here that it did some of that visualization, that number of incidents by day of the week, hourly crime trends, et cetera, et cetera. So this is sort of a pure play version of this data analysis and visualization that I think is at the part of Code Interpreter and why people are so excited. Now, move over to Ethan Malick, who is a professor at Wharton, and he says academia is in for a wild ride. What he did, just as an experiment, was upload census data and a data dictionary into GPT
Starting point is 00:07:09 with Code Interpreter. He asked it then, I would like you to generate some interesting draft hypotheses about industries and metropolitan areas, and then to test them with the data. Make assumptions if you need to, put it in a lot. paper. So you can't really read it probably from where you are, but it says title, regional dynamics of industry characteristics, a comprehensive examination of payroll, employment, and establishments across metropolitan and micropolitan areas. So effectively, this is taking census data and actually not just analyzing it, but thinking about what is interesting about the data, what comparisons might
Starting point is 00:07:47 be worthy of further elucidation or study, and then turning that into a paper which is supported with visualizations. You see here, linear regression, total number of employees versus total annual payroll across metropolitan areas, and another correlation between total number of employees and total annual payroll across MSAs. Now, Ethan says it's obviously not a top journal paper or anything close, but this took me less than 10 minutes, and I did not do any work to find an interesting data set or guide the AI in any way. If nothing else, academic publishing is about to be overwhelmed. Next up, we have coding support. Pietro here says chat GPT code interpreter is incredible.
Starting point is 00:08:26 Here it extracts colors from an image to create a palette. You can see here that Pietro uploads an image that has a set of colors in it, and code interpreter looks at that, goes through a number of steps, and eventually spit out a palette that he can now use in the development work that he's doing. A fourth category I'm calling visualizations, but really interesting. And this is the show that this isn't just academic. Ethan again here says this was kind of delightful. I uploaded a CSV file of every lighthouse location in the U.S. ChatGPT code interpreter created a GIF of a map of the lighthouse locations where the map is very dark, but each lighthouse twinkles. A couple of seconds later, he got exactly that gif. You can see the twinkling coming all around the lighthouse borders.
Starting point is 00:09:12 Riley Goodside did something similar with an example that I think many of you will recognize. He writes, make a 512 by 512 GIF with falling green matrix letters, assume no fonts, 30 frames, five frames per second, no talk, just go. Code interpreter says finished working and has exactly the thing that he asked for, the classic matrix falling letters. Get ready for a bunch of weird, quirky, and nostalgic stuff like this. Riley did another experiment, though, as well, where he did basic video editing in chat, GPT, converting an uploaded GIF to a longer MP4 with slow zoom. Riley says, I'll upload a GIF and you give me a five-second MP4 with a dramatic slow zoom-in. No talk, just go. Riley loves that no talk, just go.
Starting point is 00:09:54 Code interpreter says, sure, upload the file and I'll do it. This is the GIF that Riley uploaded. And this is the dramatic zoom-in that came out on the other end, turning a GIF into an MP4. Now, the final way that someone's using this that I wanted to discuss is actually kind of a synthesis of a number of different parts. This isn't just data analysis. It isn't just data visualization. It doesn't that, but then it goes to another level by actually layering in suggested business strategy on top of it. So what David Boyle here has uploaded is a set of information. It's an untitled spreadsheet about music market revenues in various countries. What you're seeing on your screen right now is code interpreter figuring out what data is actually in this chart. The country, the
Starting point is 00:10:43 population, the total recorded music market revenues, the total physical and digital revenues, the year-on-year change, etc. Right? This is just code interpreter figuring out what's in the chart. Now David says he'd like to cluster the data. He's actually driving this process a little bit. He says, I want to find clusters that are attractive. Here you see it working. And then it starts to come up with these clusters.
Starting point is 00:11:06 Cluster zero, consists of countries with relatively low total recorded music market revenues. Cluster one is countries with moderate total recorded market revenues. Cluster two consists of the United States, which is the highest total record. to music market revenue. However, ChatGPT also says that the way that it bound things was arbitrary and he could further refine the clustering. David Boyle says, I want a higher resolution view, perhaps five clusters.
Starting point is 00:11:28 And then he says, can you bring each to life to an executive trying to decide where to focus, give each cluster a catchy name, etc. Sure enough, code interpreter comes back. The rising stars, cluster zero. The untapped potential cluster one. The budding performers cluster two. The music superpower cluster three. and the consistent contenders cluster four.
Starting point is 00:11:51 And this is where David starts to translate it into strategy. He says for each cluster, please write a strategy for a company looking to grow its business in that segment. Sure enough, a customized strategy for each of those sectors comes up. So what I loved about this example is that it really shows how this isn't just some cool academic analysis, but can be a direct line between data analysis and visualization into strategy, business strategy that sits on top of that. Anyway, I think over the next few weeks, we're probably going to see a ton of veritable explosion of uses of code interpreter.
Starting point is 00:12:23 And I am so excited to see what people do with this and how it changes, how we think about data analysis and visualization in general. If you're enjoying the AI breakdown, please subscribe to the channel. And until next time, peace.

There aren't comments yet for this episode. Click on any sentence in the transcript to leave a comment.