# Top 10 ways to use ChatGPT Code Interpreter

## Метаданные

- **Канал:** Skill Leap AI
- **YouTube:** https://www.youtube.com/watch?v=U14oNwNbh6w
- **Дата:** 08.07.2023
- **Длительность:** 13:11
- **Просмотры:** 96,239

## Описание

OpenAI just released ChatGPT code interpreter to all ChatGPT plus users. And it’s one of the most powerful and useful updates to come to ChatGPT.

If you don’t have the plus version of ChatGPT, this may be a reason to update.  

Let me break down the top 10 ways to use code interpreter with practical examples and resources and even though it has the word “code”, it can actually do so many things that non-developers can use as well.  

To activate it, click the three dots and go to settings.  And activate code interpreter.  
If you don’t see it, make sure you have the paid subscription to ChatGPT. If you still don’t see it, wait a few more days until it gets released to all paid members.

Once activated, start a new chat, select GPT 4 and then code interpreter.

If you want to test martial to try Code Interpreter, try https://www.kaggle.com/datasets

And I’ll include a PDF prompt guide that has over a 100 prompts you can use with Code Interpreter that I’ll link below.
https://skillleap.ai/pages/code-interpreter-prompts


We just launched a new platform for learning ChatGPT, Midjourney and the top 20 AI tools.
You can try it for free here: https://bit.ly/skillleap

## Содержание

### [0:00](https://www.youtube.com/watch?v=U14oNwNbh6w) Intro

open AI just released a new chat GPT update called code interpreter and is available to all plus users and is one of the most powerful and useful updates to ever come to chatgpt so let me break down the top 10 ways to use this new code interpreter inside of chat GPT with very practical examples my favorite use cases and some resources and even though it has the word code in the name it could actually do so many more things than what developers would use it for so I want to break that down as well in this video regular people without any technical skills could use this and get a lot out of chat GPT now okay first inside of chat GPT as long as you have chat GPT plus the paid version you'll see this option so press the three dots right over here and then click the settings option here and go to Beta and make sure code interpreter is activated if you have the subscription you should see it if you don't it may still take a few days to roll out to everyone then I'll come over here click chatgpt4 and make sure this is checked on so from default faults I need to go to code interpreter and see this icon now I'll see a new plus sign right over here you see it says upload file so you could upload files you could upload codes documents data sets pictures videos all kinds of different things and interact and have chat GPT do different things for you to those documents so let's go through the list right now so the very

### [1:20](https://www.youtube.com/watch?v=U14oNwNbh6w&t=80s) Analyze Data

first thing you could do is you could analyze data so it could be your data analyst let me show you how that works I'm going to upload a file and if you want to also follow along with some test data if you don't have your own you can upload your own I'll show you that in a second but there's this website kaggle it has a whole set of data sets across different things so right now under data sets I could do financial data I could just do text-based data and you could download any of them so any of them if you click over here for example you could press downloads this is just a CSV file this is a text document with a ton of different data right really hard to figure out what's going on here so I'm going to go ahead and open it and you could press enter but I typically like to say can you explain this data or describe this data and then go ahead and send that message and then it's going to start working if you want to see the work it would actually show you it's writing a little bit of python code but I usually don't have to worry about that then it's going to break down basically what this data set has so it's going to basically give me all the different columns and the rows of the data set and then I could keep talking to it with ton of different prompts so let me show you this I have an entire prompt list that I'll go ahead and link below free for download and I could basically ask any of these from any type of data set so I could say can you explain this data set in simple terms I'll go back to chatgpt I'll go ahead and paste that this just kind of gave me the breakdown of what's included but I kind of want to know in plain English what is this all about and then it says this data set is like a diary of air quality in different places at different times any kind of breaks down exactly what it's all about then I could say what are some of the trends shown in this data and it created this graph for me right here that basically shows me exactly what the trends are over time this graph this visual representation was not in the data it's giving the data to me which brings me to use case number two which is it could create any type of graphs and visual elements like diagrams for you so I'm going to follow up with one of those prompts this is one of my favorite prompts can you create 10 visuals that represent the different data points here and look at this it created 10 different visuals for me with a download link to each one so I could just click download it's downloading PNG files I'll open a couple to show you so it's created these graphs sometimes it represents them here but in this case you give it to me as a downloadable version of it and any of these could be opened up like this put into a presentation all 10 are available here for download this is extremely useful to analyze data this way and represent them with different Graphics you could ask for bar charts and different types of graphs as well now

### [3:56](https://www.youtube.com/watch?v=U14oNwNbh6w&t=236s) Image Processing

the third one on my list is image processing this could do ton of different things with just basic images like a JPEG or PNG let me upload one and here's an image I just created in mid-journey and let me refer to my list here so I'm going to say crop this ms4 vertical formats and I'm going to add one more thing I'm going to say without distorting the aspect ratio so sometimes when it cropsy actually squeezes if you add a prompt like this it's not going to do that and then basically my result is this download link and if I go ahead and click on it there we go I got a nicely cropped image to vertical and you could do a whole bunch of different things I recommend you copy and paste from the list but let me show you this one and I asked transform this photo into a color palette and Export it as a PNG if I download this right here and look at this is the color palette you just created for me and it's based on this image so you scan this image you found this color palette so I could use this in a lot of my marketing and designs and something really interesting happened I want to point out sometimes if it finds a problem with the data set it actually goes and corrects it or if he finds a problem with the way it's going about writing the code it will correct it on its own so in this case it finished the work didn't give me a result but it fixed it on its own next on my list is

### [5:11](https://www.youtube.com/watch?v=U14oNwNbh6w&t=311s) File Conversion

file conversion so it could basically turn a song into an MP3 file for you it could turn a jpeg into a PNG it could convert different text files into caption files so let me try to give it this video file this is an mp4 this is just a music video I created in another AI app called kyber I'll go ahead and add it here and I said can you convert this to a gif with a download link and it asked me hey this is a 30 second video do you want a shorter version of that and I basically have it edit my video I said yeah from Five Seconds to 10 seconds let's go ahead and download it and here it is this is a gif version of that mp4 file and it's only five seconds long it basically let me edit it and turn it into a whole different type of file just using that prompt next

### [6:01](https://www.youtube.com/watch?v=U14oNwNbh6w&t=361s) QR Codes

thing you could do with chat GPT code interpreter is you could create QR codes that are scannable to send people to different websites and my Prof was create a QR code to send people to skill leap. ai my website and it's created that for me just like that I could go ahead and right click on it save as image and then post it on social media or anywhere else I would like now code interpreter

### [6:21](https://www.youtube.com/watch?v=U14oNwNbh6w&t=381s) Financial Data

could also analyze financial data so this is useful you could also do this with sales and marketing data too but I'll show you financial data right now I downloaded this CSV file again from that same kaggle website this is basically Amazon stock price over time I'm going to start with a simple prompt explain this data sets in a paragraph and as usual it's breaking this down for me it's a historical stock price of Amazon over time and it's going to give me the start date and the closing dates as well now I have a lot of different prompts for analyzing financial data so I'm going to go ahead and take this one give me the date for the highest closing price and that was a real simple one now I'm gonna give it something more visual can you plot a histogram of daily returns and it quickly created this for me again with all these I could go ahead and save it as an image to my computer

### [7:10](https://www.youtube.com/watch?v=U14oNwNbh6w&t=430s) Making Predictions

now let me show you the next one this is chat GPT making predictions I'm going to ask it make a prediction of where the stock price will be in five years show me in a graph now different ways of asking it to make predictions sometimes it does it sometimes it doesn't do it so let's see what comes out of this one and he gave me some sort of an answer after a bunch of back and forth and he tried to project the price of the Amazon stock in one year but he still told me is having issues so I'm not really sure if this worked or not but making prediction it is part of what it could do but it really depends on the data set that you give it so give it a try again The Prompt for that is just what predictions can you make based on the data set or ask for a specific prediction and see what it could do for you I'm still testing this out on the prediction model but that could be really powerful if it actually works now let me show you my

### [7:58](https://www.youtube.com/watch?v=U14oNwNbh6w&t=478s) Interacting with Data

favorite things which is interacting with your own data set here using chat GPT code interpreter so I'm going to go back to that prompt list here and I'm going to go ahead and Export this usually it's best to not do a PDF document it has more problems with things like that but these kind of CSV files for data sets it does the best possible job so again my prompt is going to be explain this document to me in a single paragraph it's going to work writing a little bit of code and then I'll get the recap here and then I did a follow-up prompt what's the main purpose of this document basically the main theme something like that could be a really good prompt from my prompt list again and it says it seems to be a list of prompts for data analysis and so on

### [8:41](https://www.youtube.com/watch?v=U14oNwNbh6w&t=521s) Visual Word Cloud

then I asked that to create a visual word cloud so this is a really nice representation tool that I like to use so it basically looks into your text documents or any type of document you give it find the most commonly used words in a word cloud now that document didn't have any actual data right it was just text so I could ask those type of prompts but I'm going to give it one with lots of different data from my YouTube channel and this is basically something you could download from YouTube studio and I did the usual I said explain this document to me so it basically broke that down right here so it has lots of different things like my subscribers estimate Revenue watch time views now I'm going to use one of my

### [9:19](https://www.youtube.com/watch?v=U14oNwNbh6w&t=559s) Create entire presentations

favorite prompts which brings us to this point of using this chat GPT code interpreter to create entire presentations so I'm going to take this prompt can you create 10 visuals to represent the different data point presented now I didn't ask for anything specific so I want to see what he thinks did 10 different data points should be based on that table and it gave me 10 different charts here and I'll kind of break down what these different charts are but it's a really good way for me to analyze this YouTube channel but it gave me the 10 videos by views for a 30-day period which is the table I gave it the top watch time how many views brought me the most subscriber e he gave me a view to revenue so this shows the relationship between views and estimated revenue for each video so this is a very practical application for me to basically analyze all the numbers behind my YouTube channel with just one prompt that gave me a very easy output in a couple of seconds then I told it to can you create the entire presentation it says no I can't create the whole presentation but he basically told me what the slides should be in a presentation so it created all the slides and a little further down I said create the graphs that I can include in all the slides that he mentioned so it created I said create graph so all I have to do now is open some kind of a slide Creator like Google slides and I could basically just go ahead and I have the title then he gave me all these as a downloadable file and any of them I could click I got a PNG I could go ahead and put that into my presentation and the next thing is

### [10:56](https://www.youtube.com/watch?v=U14oNwNbh6w&t=656s) Analyze and optimize code

actually using it to analyze optimize and how help you improve your code so I'm going to give it some python code again that I got from kaggle so this is going to be a dots py file so this one right here I'll go ahead and press enter so as usual I said explain it to me it appears to be a python code and as usual it's going to go through the whole data points and basically give me everything and there's ton of things you could do here so on my list let me show you some of the things you could do when it comes to analyzing and optimizing code so all these prompts are related to analyzing codes so you could get it to explain it to you could get the key purpose for it you could list the different modules extract the functions finding errors so this one's really good I like this one analyze the code for potential errors so right here it says the code does not have any glaring errors but these are the ways to improve the code and it's going to give me a breakdown and I could say tell me more about number one or number two and then get it to optimize that for me so I just said help me achieve number three which is one of the recommendations it gave me and then it's going to give me more breakdown detail of exactly what to do and it's writing the python code for me it says here's an example for image processing so this is really useful again this is more for the developers to analyze their code but this has the potential if I go back to my prompt list to basically do all kinds of different things for example create a flowchart to show you how the code is getting executed even time estimation identifying algorithms if you're given a kind of algorithm as your code source so lots of different ways to use it again check out this page here you could always ask chat GPT a follow-up too can you give me other ways to improve my code and it's going to give you a bunch of different suggestions after it tries to debug it and find errors for you I'll also put a link in the description to skill leap AI this is an entire AI based learning platform we rolled out that has entire courses on things like chat GPT mid Journey prompt engineering and we're adding new tutorials and courses to it almost every single week so make sure you check that out if you're interested in learning AI I hope you found this code interpreter and the prompt list useful and I will catch on the next

---
*Источник: https://ekstraktznaniy.ru/video/13059*