How To Use GPT-Engineer?
To build a gpt-engineer project run
command on the command line, from the main GPT-engineer project folder, not your project directory.How to use GPT-engineer to build a project (YouTube tutorial)
- In this quick tutorial, I'll show you how to actually use GPT engineer. We're going to build the example project provided with a fresh installation of GPT engineer. It's a simple snake game. But we can also add our own rules to it. Remember, the whole point is to build large codebases.
- One more thing, it's not free. But it's not expensive. Just keep in mind, each time you build a project with gpt-engineer, be ready to spend between 25c to 50c. It will make multiple API calls to build the codebase.
- Make sure to run c:\gpt-engineer> pip install -r requirements.txt. This will install gpt-engineer dependencies. They're simply other Python modules required to run gpt-engineer.
- If you don't want to build the example snake project provided with gpt-engineer installation by default, you can create new project.
How To Create New GPT-Engineer Project
First, we're going to make the new project on the command line.
To create a new GPT engineer project follow these steps:
- Install GPT-engineer to C:\gpt-engineer.
- Enter C:\gpt-engineer\projects directory.
- Use mkdir command to create new-project folder.
- Name this folder anything you want your project to be named.
- Enter C:\gpt-engineer\projects\my-project directory.
- On Linux, use nano editor to create main_prompt file in that directory.
- On Windows, open Notepad.exe or VSCode and create main_prompt file.
- Write description of what you want to build in main_prompt file.
- Save main_prompt file and this is enough to start building the project's codebase.
With our new project created, we're ready to start building it.
This is also done on the command line.
So just follow step by step instructions in the next section.
How To Run and Build GPT-Engineer Project
If you don't have GPT engineer installed, go to my other tutorial to see how to do it.
Once installed, go to gpt-engineer folder by issuing cd gpt-engineer command:
c:\> cd gpt-engineer
And run this command:
c:\gpt-engineer> pip install -r requirements.txt
This is the most important GPT engineer command, it builds the project:
c:\gpt-engineer> python -m gpt_engineer.main example
This will build the project located in projects/example folder.
If you want to start a new project simply create your own folder in projects directory.
Articles Related To Gpt4 Community
- How To Use Chat GPT4 For Writing on 15 Apr 2024 by Ghost Together
- How To Use Chat GPT For Lawyers And Legal Work on 15 Apr 2024 by Ghost Together
- How To Use GPT-4 for Language Translation on 15 Apr 2024 by Ghost Together
- Free GPT4 For Lawyers, Legal Practice and Case Research on 5 Apr 2024 by Ghost Together
- Is There a Free GPT Platform For Data Analysis on 5 Apr 2024 by Ghost Together
- How to use ChatGPT4 for coding on 5 Apr 2024 by Ghost Together
- How To Use GPT4 For Academic Writing on 5 Apr 2024 by Ghost Together
- How To Install SuperAGI on 2 Jul 2023 by Ghost Together
- How To Install GPT Engineer on 17 Jun 2023 by Ghost Together
- How To Install AutoGPT (Quick Setup Guide) on 27 Apr 2023 by Ghost Together
Last 10 Articles Written On Ghost Together
- sdgsd on 29 Apr 2024 by Await974
- Usage of List.Contains function in M Language on 25 Apr 2024 by Layout965
- The engineer's theoretical revision on 18 Apr 2024 by Semicolon512
- The engineer's theoretical revision on 18 Apr 2024 by Semicolon512
- How To Use Chat GPT4 For Writing on 15 Apr 2024 by Ghost Together
- How To Use Chat GPT For Lawyers And Legal Work on 15 Apr 2024 by Ghost Together
- How To Use GPT-4 for Language Translation on 15 Apr 2024 by Ghost Together
- Heloo World on 10 Apr 2024 by Code17
- Free GPT4 For Lawyers, Legal Practice and Case Research on 5 Apr 2024 by Ghost Together
- Is There a Free GPT Platform For Data Analysis on 5 Apr 2024 by Ghost Together
Last 10 Gpt4 Questions Asked On Ghost Overflow
- Ask your first Gpt4 question! (Help us build the largest database of questions on any subject)