Skip to content

Develop a codebase using a prompt for project requirements with LLM such as ChatGPT

Notifications You must be signed in to change notification settings

peytontolbert/llm-coder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM Auto Coder

*Human-centric & Coherent Whole Program Synthesis your own personal junior developer

this is a prototype of a "junior developer" agent that generates an entire codebase for you once you give it project requirements.

The demo example in prompt.md shows the potential of AI-enabled, but still firmly human developer centric, workflow:

-Human writes a basic prompt for the app they want to build

  • main.py generates code
  • Human runs/reads the code
  • Human can: -simply add to the prompt as they discover underspecified parts of the prompt -paste the error into the prompt -for extra help, I'm going to create a debugger.py which reads the whole codebase to make specific code change suggestions

install

it's basically:

  • git clone https://github.com/peytontolbert/llm-coder.
  • copy over .example.env to .env filling in your API keys.

trying the example prompt in prompt.md

the /generation/4 folder contains a webapp of a Library Management System. The webpage runs on port 3000 and uses a mysql database. To recreate this project, just run start.py

About

Develop a codebase using a prompt for project requirements with LLM such as ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published