How I Use ChatGPT Code Interpreter For Learning

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
opening I just released a massive update to chat gbt called code interpreter and it's available to all plus users and it's one of the most powerful and useful updates to ever come to chat GPT so in today's video I'm going to break down exactly how to use it and what it is and my top 10 ways to use code interpreter to take your learning and work to the very next level I'm going to be using practical examples and I'll even give some bonus ones at the end of this video so be sure to stick around now although it's called code interpreter it's not just for developers and anyone can use it so let's dive straight in so code interpreter is available on gbt4 to chat EBT plus subscribers so you need to have that 20 a month gbt Plus subscription in order to access it if you do just head over to settings and then beta features and switch on code interpreter you can then activate it from the gpt4 drop down menu under the plugin section and then when you do that you'll then see there's a little plus button next to where you normally enter your prompts which allows you to upload any type of document you like and add a prompt to go along with it you can also drag any file over the window and it will also upload it into chat GPT now essentially what this does is it enables chat gbt to use Python script and handle uploads and downloads in a secure environment the best way to think of code interpreter in basic terms is it's like having a very Junior programmer at your fingertips so the first thing I tried with the code interpreter was actually uploading a photo and then seeing what code interpreter could do so in this case I took a cute picture of a Labrador puppy and uploaded it into the chat GPT prompt window and as you can see it does a pretty good job of breaking things down and describing things for us now I want to take things a little bit of a step further here so I then got chat gbt to actually describe a prompt that I could then move over into something like mid-journey or dually to generate my own AI version of this image and let's just see how that happened and what it looked like and actually the results were pretty cool I think you'll agree this is a pretty cool looking AI generated puppy and there's lots of other cool things that we can do with images too we can zoom in and out out we can actually pull off the color palette from a particular photo we can change the color grading and we can even upgrade and change the resolution of an image to make it slightly more High Fidelity we can crop it we can spin it round and lots of other things and I'm going to be diving into this a little bit more later on in the video so be sure to stick around one of the coolest things you can do with Chachi BT code interpter is to actually create a QR code that then you can use for things like marketing or pointing people towards your product for me I use my website alexanderfyoung.com and ask chat gbt to create a QR code and as you can see it did this really really quickly and if you scan that QR code right now it will take you to my website and you can sign up to my newsletter that goes live every Thursday and Sundays covering Tech and Ai and lots more about learning and Human Performance now the next thing I tried out with code interpreter was actually using it for something that I do every day which is project management both my companies and in my personal life I'm pretty organized and I'll often map things into an Excel chart or use productivity software like Asana or Monday or click up to organize everything I'm doing to ensure success but this can be really really time consuming and if anyone's filled out a Gantt chart you know it can take absolutely ages in this really practical example I took a project we're currently working on at verti which is all to do with surgical training and I put down the actual outcomes and the deadlines we needed to complete things by and then uploaded it into chat gbt and asked it to Output a Gantt chart into a CSV file and you can see that it runs some python code and it was able to do this pretty nicely if I wasn't sure what the project was I could even use chat gbt to map out the different steps towards a specific goal now we can also take this a little bit of a step further and download that CSV file and then upload it into a sauna to populate our Asana project management which then we can share with our team now this next prompt with code interrupter is going to be especially useful for anyone who's studying at the moment either in their professional lives or at school I'm a massive advocate of using spacing schedules combined with active recall to learn as quickly and effectively as possible and to negate any of the effects of the forgetting curve but actually creating a spacing schedule and study schedule can be really really time consuming and a little bit tricky if you're new to getting started so what I've done here is I've downloaded the outline of a spacing schedule from the internet and then I fed it back into chat EBT using code interpter code interpreter can then break this down I've also used it for more of a zero shop prompt or I'm just saying something like I'm revising for medical finals exam in about 12 months time and I want you to map out all the topics I need to revise for and then put it into a spacing study schedule that I can then apply myself and as we can see chat gbt again does a really good job here of breaking down all of the topics and then using a spacing schedule in this case I use super memos one which is quite widely used to then plot in times through revision sessions to ensure that I don't forget things I can then download this in Excel or CSV format and then I can use a color system to decide what I've mastered what I'm still struggling with and what is really really hard so that I can then prioritize what I'm revising towards that exam in the future I've also put a link in the comments down below to a study schedule that you you can download right now to save you even more time now one of the things that I spend ages scouring the internet for is ways to convert files into different file types often this might be a PDF into a Word document a Word document into a text document or one type of video file into another and it can just take absolutely ages luckily code interpreter is here to save you tons and tons of time you can upload pretty much any file from a PDF to a video and then just ask it using prompts to actually change it into a new file type in this case I converted a PDF pretty quickly into a text document and also a video file into an audio file and it worked really really nicely okay so the next use case for code interpter is really helpful if you're studying a subject like maths or physics or you're working in Industry like engineering where you're doing lots of complex mathematical computations and equations code interpreter can run some pretty complex math equations and produce graphs and other things in these examples I'm putting in lots of different mathematical formulas and equations and then chat gbt is outputting this as graphs or or breaking things down and remember this can be used to manipulate large data sets as well so if you've got a large data set of numbers or something from a research study that you need to run a deep mathematical equation on to pull out the results of like say for example calculating the p-value or the impact of a particular intervention in something like medicine then you can do that through chat gbt rather than having to use paid formulas equation software which can be very very expensive and difficult to use chat gbt's conversational element breaks this down and makes running these complex math equations really really easy now just before we dive into a bunch of prompts that analyze big data sets which is one of the best use cases for code interpreter I wanted to throw in just a really really practical and straightforward way that we can use the code interpreter right now to save us tons and tons of time and it's this you can just upload any document and then analyze that document very very quickly pulling out or summarizing any information that you might need previously you might need to use a chat EVT plugin to do this or a separate website but now you can upload any PDF document like in this case a biology or chemistry GCSE study module and then ask chatgpt to summarize things or pull out relevant information or even turn things into questions for you from this now this is super helpful if you work in an industry where you're dealing with very very large documents and you need to quickly find something or you just need something summarized and it's also going to be really helpful for both students and teachers when it comes to analyzing things like projects or homework which might be sent in in a Word document or a PDF format okay so code interpreter saves us loads of time when it comes to analyzing big data sets but before we actually get to playtime I just want to tell you about one quick website where you can download data sets very very quickly plug it into chat gbt and play right now after you've watched this video and that website is called kaggle it's great for machine learning engineers and you can search from a variety of different data sets and download them in this case because of my background in medicine I've downloaded a healthcare data set looking at cardiovascular disease across a number of different centers around the world and this data set is huge okay so now now we've got our data set and again this could be absolutely anything from scraped web data to things you downloaded from Google search console to this case where it's a lot of Health Data you just drag and drop it into code interpreter and then we can ask chat gbt to analyze everything contained within that data we can ask it to segment the data pull out Trends and even create graphs as I've done in this case so rather than having to trace through all of that data which might take hours and hours of our time we can actually ask code interpreter to pull off the graphs and code interpreter can actually format lots of different graph types and it's pretty smart at understanding how we want to see the data and what the best graph type is for me personally along with the kaggle data that I've been playing with I've also practically been using Code interrupter to analyze the responses from surveys that I've been using for a lot of my businesses either for marketing or for analyzing how people are actually using our product from tools like mixpanel or things like Google search console you can download a CSV or Excel file and then upload it in this case we've got a survey here about how people are using AI in the world workplace and then I've asked chat gbt to create some graphs and even put those into a PDF document that can be then shared now it's not perfect at creating PDF documents and if you want a report that looks really stylish you're still probably better off getting an actual human to do it but it's a really nice touch and I would imagine that this will get better and better with time most importantly it saved me lots of time when having to analyze all of the results of the survey and find some quick Trends and it even produces things like word clouds which are great for sharing language of your customers or your users with both your product team your marketing team and your wider audience it's not just graphs and word clouds that code interpreter can output too it can also do some really cool things if it's given location data for example I've downloaded this data set of UFO sightings globally from kaggle and then I've uploaded it into chat EBT code interpreter and we can actually get a geolocation map of the entire world showing some hotspots of supposed UFO activity we can then in real time ask chatgpt to zoom in on specific locations like for example the United Kingdom and see exactly what's happening in different locations and areas and map it over different cities or landmarks which is just super super cool and if you've got lots of data from things like your Shopify store or people visiting your website from Google search console or Google analytics it's a really nice touch to be able to analyze that in real time where those websites might just give you static Pages showing you the locations of people who might be using your products or website now whether you're learning to cater or actually building something code interpreter is a complete Game Changer here you can actually upload all of your files in a zip document and then get the entire thing analyzed and critied by chat GPT and then you can work on improving things and optimizing your code if you're just starting out you might want to download some code from GitHub in a zip file and then upload it and get chat gbt to explain things to you if you're a little bit more advanced and are running your own projects or coding something for a company and you're stuck you can upload anything you're working on into gbt and a little bit like having a programmer next to you to explain things in simple terms it can actually Point things out that you might have missed in this case I've used some python code that icaded with my pretty janky cading skills that I've then put into a zip file and I've then uploaded it and it's not just code analysis that code interpreter can handle you can actually ask it to create code from scratch just like you can with vanilla chat EBT but in this instance it will actually output a file so for example we could get chat GPT to create a manifest file for a chat gbt plugin and then code interpreter will actually produce this file whether it's a Json or a zip file containing all of the lines of code we can then look at that ourselves host it on a local environment and test it or we could host it on the cloud and then run more code through chat gbt to then interact with that hosted code and produce something like a chat gbt plugin such as a habit tracker which I've got a great video on that's definitely worth checking out now we looked at some of the use cases around uploading images to code interpreter earlier on but I just want to dive into the full manipulation of images that you can do and also look at video so if we take our image that we outputted through mid-journey of our AI puppy we can actually put this back in and pull out a lot of data and information as well as change new things like the size cropping that image spinning it Round And even changing the color palette and shading of the image itself with video you can do exactly the same thing I've taken my image of a puppy and run it through Runway ml to create a new video from an image based prompt so here we've got a four second image of a puppy sitting outside in a field and we can download this as an mp4 file I can then upload this back into code interpter and actually get that clip to be shortened even further so here I'm asking for it to be a three second clip and I'm cutting off the last bit so we just get the first three seconds of this video and as you can see when it's output it's done exactly that for us we can also do things like turning the video around or even changing the video file format or just pulling out the audio if we've got a video with audio you can also get chat gbt and code interrupted reduce things like gifs though this is still in the very early stages remember while code interpreter is really great it's still in beta and it doesn't always do exactly what you want like this slightly cursed image of my puppy when you upload a file it's also worth mentioning that this is held in a temporary storage area and if you're working on a big project like I was when I was playing around with lots of data sometimes that file can be lost and then it irritatingly asks you to re-upload things or just forget other lines of code that it had created in the past and this can drag that project out for longer than it needs to be now that being said code interpreter is still an absolutely amazing tool and if you're working with large data sets it's going to be completely revolutionary and it's going to save us so much time in the future and if you want to learn about more ways that you can save tons of time and be more productive by using chat GPT I'll put up this video over here which is a deep dive into some of my favorite chat gbt prompts that's definitely worth checking out thanks so much subscribing and for watching today's video and I'll catch you again next time relax
Info
Channel: Dr Alex Young
Views: 26,717
Rating: undefined out of 5
Keywords: ChatGPT Code Interpreter, chatgpt code interpreter plugin, code interpreter, chat gpt, how to, chatgpt tutorial, openai chatgpt, chatgpt code interpreter how to use, code interpreter chatgpt, how to use code interpreter in chatgpt, how to use chatgpt code interpreter, chatgpt code interpreter demo, chatgpt code interpreter install, chatgpt code interpreter data, code interpreter beginners guide, gpt4, gpt 4, chatgpt, dr alex young, openai code interpreter
Id: i1t76f7wXBA
Channel Id: undefined
Length: 14min 9sec (849 seconds)
Published: Sun Jul 16 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.