Skip to content

fabriziosalmi/DevGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code togheter

The original name DevGPT has been changed due to OpenAI policy changes

Latest updates

  • Code togheter version more focused to build machine learning projects and pipelines is available here 🎉
  • OpenWebUI prompt released here, it works on Stable-Code-3B, Llama-3-8B, WizardLM2-7B, Mistral, GPT3.5 and GPT4o models 🎉

DevGPT

How to use

The hitchhiker's guide to DevGPT:

  1. Initialize a new project typing /project followed by the name and the description like this: /project MyApp My application is a simple chatbot using GPT2 Italian model
  2. Once you received project composition, files list and order execution just check for needed files and ask one by one this way: /complete filename
  3. If all provided scripts are working as expected you'are done

Tips

  • you can also ask it to improve a single file by typing /improve and paste the file content you want to be improved
  • you can ask to add /logs and /debug snippets for a better troubleshooting
  • you can ask to evaluate compute resources needed to run the application by typing /dim
  • you can ask to create a README.md file for the application Github repo by typing /repo

..and much more.. it is continuosly improved for any need ^_^

Here's a list of valid commands and their uses:

Command Description
/project Initialize a new project with a name and description.
/list List all needed files for the project considering a Linux environment.
/setup Propose main and requirements.txt files, showing the complete code for those files.
/env List all required imports, libraries, and actions to set up a working environment (Linux only) for the project and/or the code generated.
/dim Calculate minimum RAM and HDD space required to make the project or the code work with no issues.
/split Modularize a single code snippet or file into multiple files.
/log Add logging to the previous code discussed.
/docs Explain important functions and libraries used in the latest code snippet.
/debug Add additional debugging code to troubleshoot the issue we are facing on the latest code.
/exec Simulate running the code, printing possible full output.
/improve Rewrite the complete code, adding as many improvements as possible.
/complete Show full script snippet for a specific file with usable, working code only.
/order Show the order of file execution to test the project.
/adapt Adapt all existing files to the latest file changes, propose one file snippet (full code) per message.
/use Explain how to run, use, or test the project.
/repo Create README.md files for GitHub with all needed project information.
/fix Try to make the same script work with another approach.
/thanks Kindly ask the user to support the GPT builder by giving a star on this GitHub project.

Example uses

Please advice if you build something with DevGPT, it will be amazing to have a wall of fame :)

Starter apps:

Built in minutes with DevGPT: