GPT Engineer: Things Are Starting to Get Weird

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
things are starting to get pretty weird now maybe you've heard it already but there's a new tool that developers are creating to make themselves obsolete called GPT engineer I've put a link to the git repository in the description of this video I'll show you what it can do in this video which is pretty insane and also share a couple of my thoughts about where this technology might lead us not All Is Lost but for a certain group of developers this is not really good news how to use this tool while you can install the development version by simply cloning git repository but you can also simply install it with Pip install GPT engineer and then it's going to install the back Edge now it has installed the package the only thing you need to do is to provide it with an open AI key and you can do that by simply exporting the openai API key constant so now I've exported the open AI API key I haven't shown you the actual value for obvious reasons you should get your own API key if you want to play around with this now the only thing you need to do is create a directory with a prompt in it and then GPT engineer can use that prompt to create a complete application I have already done this I have a folder called keys that contains a single file called prompt and there I'm writing a description of what we want GPT engineer to create for us for this case I'm creating an API that generates all sorts of different IDs I give few examples of the things that it should support such as uuid object ID and a couple of other things as well and I wanted to be able to generate single IDs but also a batch of IDs up to a thousand IDs which is what I've written here so now the only thing I need to do is call GPT engineer and then provide it with the folder that contains the prompt now as you can see it normally relies on the gpt4 model which unfortunately I don't have access to yet I'm on the waiting list but it reverts now to gbt 3.5 turbo and then it asks a couple of follow-up questions so it needs some clarification so now I can enter more information about what I exactly need for example it asks what's the format of the numeric IDs and what's the maximum length of the random string ID so for example I could write something like this then there's also a question can we specify the length of the wp Keys yes you can specify the length so and is there a limit to the number of batches we can create there is no limit like so it's not provide the information apparently that's all it needs and now it starts generating the actual code you see it generates a class ID generator it generates a bunch of functions methods it also explains that it needs files to have an entry point to the API Etc as you can see it uses fast API here and so I'll just let it generate this code and I will take a look at what it has actually generated for so now it has fully generated the code and you can also see here in the folder we have a memory folder I'm not exactly sure what this does this is probably some log of the prompts that have been generated but we have the workspace that contains now an ID generates a file with a class so that looks like it can definitely generate IDs we have utils which is the lower level ID generation and we have a main file that contains the fast API routes so if you go back to the Sheldon you see that it can actually already automatically run this code so I'm simply going to press enter and now it's going to execute the code that it generated so we see that well there is some error that it was looking for requirements file that was not there but it actually is running uvicorn and uh the fast API server if we look at what it did it create two routes the generate ID route and generate batch and then we can supply a batch size so let's see what happens if I now open This Server now the root is not a route that was added to fast API but we should be able to do generate ID and then we want a uuid and now we get a uuid so that actually works and let's try something else so we also have generate batch and now we get a batch of one uuid but let's also Supply a batch size let's say we want a hundred uu IDs there we go or maybe we want object IDs like so and that also works well kind of it generates object IDs in sequence or maybe that's not exactly what I want but it's pretty close so there you go it just takes a few minutes to create a complete application that actually works so played around with this a bit more not always works for example here I try to create an application that's a web form editor so I wanted to have a backend written in Python at a front end with typescript and react that would allow you to edit basic forms like a Google forms kind of Clone with text fields and drop downs and then you should have a unique URL for a form and you should be able to embed that in another application using an iframe so it actually did generate a back end folder that contains classes like fields and forms so you can use that to create a form and we have again an API so in this case it used flask instead of fast API to have the API we have create form we have getform update form and delete form so that's pretty simple and it also generated a front end with an app that fetches form data and can handle form updates so this looks like code that could actually work however when I try to run this I ran into some errors with missing HTML files and things like that so it's not perfect but also remember that I wasn't using gpt4 here I was using GPT 3.5 and it was still able to generate plausible code which is completely insane so it's pretty amazing that this is not possible and it makes it hard to conceive what is going to happen in the coming months years when these tools starting to get better and we'll be able to do more and more things and obviously it leads to a question that everybody's been asking with AI like is AI going to replace developers well if you look at this honestly I think it's definitely going to replace part of the job that we do now as developers in particular more basic development work like setting up this kind of boilerplate project or doing software testing q a these kind of things I think a lot of that is going to replace to be honest though at the same time there are also issues with AI related to copyright privacy security I mean not all companies allow their employees to work with AI tools because well we don't know where that code ends up and how it's being used by these AI models but it's also highly likely to be a temporary thing because if other companies are using AI tools and are progressing way faster than you are then you're going to lose out of the competition as a company and you don't want that obviously so you almost have no choice as a company but to jump on the bandwagon and these developments just like the internet social media they're basically impossible to stop now the cuts out of the bag in the short term we're going to be okay as software developers we'll simply use AI tools more and more to do some of the leg work for us like setting up boilerplate code writing software tests filling out a portion of our application so we can move faster things like that so that's great we'll become way more efficient we'll be able to develop software faster and the quality will also be higher hopefully but I'm really concerned for people studying computer science or related studies at the moment I mean basically the first things AI is going to replace is Junior Developer jobs because those basic tasks that you normally use to train in a company to get into more senior position well those are going to be done by AI so are there going to be any Junior Developer jobs left I think that's a big question and if AI replaces most of the job of a junior engineer how are you going to get any practice after you finish your studies there simply won't be any more jobs for you and in the long term this is going to progressively happen for more senior jobs as well and when I say long term I don't mean decades I mean years or maybe even months one thing is for sure things are changing fast and they'll never be the same again and I do hope that we end up at some sort of equilibrium between developers and AI where we basically create a sort of when when where developers do work with good ads and AI does what it's good at in that scenario AI doesn't replace us it augments us so we can do more while increasing the quality of our work at the same time but how do we get there I think our best bet is to focus on developing our higher level thinking skills this is what we're good at coming up with non-standards creative out of the box solutions to problems solutions that you can't simply generate by looking at what people did in the past which is what large language models are basically doing at the moment it's actually what I talk a lot about on my channel software design and architecture how to organize complex applications things like that that involves coming up with new creative out of the box Solutions and then AI can do the boring work like implementing all the details and fixing all the bugs for us like fixing course issues or race conditions those are my favorites so how do you improve your high level thinking skills well you should of course follow my software design course which teaches you everything you need to know link is in description below plug anyway I am going to share more AI focused content on this channel in the future because even though I'm concerned I'm also excited about the possibilities if you want to get started building AI tools to help Humanity become obsolete even faster watch this video next where I show you how to do that in just a few minutes thanks for watching and see you next time
Info
Channel: ArjanCodes
Views: 841,741
Rating: undefined out of 5
Keywords: gpt engineer, artificial intelligence, machine learning, chatgpt tutorial, ai news, gpt 4, chat gpt, how to use chat gpt, ai chatbot, inteligencia artificial, ai engineer, prompt engineering, gpt engineer github, natural language processing, how to make money with chatgpt, gpt engineer tutorial, machine learning python, openai, openai api, openai chatbot gpt, openai gpt 4, openai tutorial, openai chat, openai chatbot, openai gpt 3, gpt 4 demo, openai python tutorial
Id: FPZONhA0C60
Channel Id: undefined
Length: 10min 13sec (613 seconds)
Published: Fri Jun 30 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.