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 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
- What is AutoGPT? on 16 Apr 2023 by Ghost Together
- How To Use Chat GPT-4 For Free (Chat GPT4 Free Access) on 23 Mar 2023 by Ghost Together
Last 10 Articles Written On Ghost Together
- xv on 24 Jun 2024 by AndrewOcean
- How to get started on 17 Dec 2023 by Kenya
- How To Make Characters In Midjourney on 14 Dec 2023 by Ghost Together
- How to make money online on 12 Dec 2023 by DRSMS313
- How To Make Consistent Characters In Midjourney on 12 Dec 2023 by Ghost Together
- Wildfires and Wastelands on 10 Dec 2023 by A. Stranger
- How To Download, Install And Activate Davinci Resolve Studio 18 on 10 Dec 2023 by Ghost Together
- How to use LUTs in Davinci Resolve 18 on 10 Dec 2023 by Ghost Together
- Write about Association between surface of the polyp with histomorphology Polypoi... on 10 Dec 2023 by msjrez
- How To Zoom On Video In Davinci Resolve on 10 Dec 2023 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)