| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A demo project to show how any language model capable of generating code can be used to generate entire projects. You can enter a name and description for a project, and the code is recursively retrieved and realized from an imaginary repository. See the generated_example_project which was generated by ChatGPT using this project and the following prompt:
Name: webhoppr Description: A simple web-based blog using flask.
This project is a proof-of-concept, mostly concerned with the feasibility of this approach. There are still a few caveats and limitations, and I provide suggestions for resolving them below.
I use the Linux terminal emulation trick to get a well-defined interface to the language model that allows for recursive extraction of imaginary file systems, automating the entire pipeline from idea to "project uploadable to GitHub". This is significantly more powerful and expressive than the original style of outputting small code snippets and allows for more complex code to be generated, embedded in an entire project context.
This project was part of my deep dive into ChatGPT when it came out. During this time, I've realized that LLMs of this kind can act as an almost universal emulator- Linux terminals being the best-known example of this. But also obscure 80s CNC machine terminals and even humans. Unlike their "real" computing counterparts though, LLM representations of them are very malleable. Have a nasty bug? Just do "{imagine this bug didn't exist}" and it's gone. Want to add a feature? Just do "{imagine this feature existed}" and it's there. The code itself becomes unnecessary. This is the power of unreal computing. It seems possible to me that we will eventually operate in entirely unreal computing environments, which maybe call out to one or more underlying "real" computing systems. This project is another example of this, extracting entirely unreal/imagined repositories from the latent space of a language model and bridging the gap to a real project that you can upload to GitHub. Unreal Computing is very much real.
First, you have to decide whether to use ChatGPT or the regular models from the official API. I've done the development and testing with ChatGPT using an unofficial API (the feasibility of which may have changed), but the script is set up to use the official models by default. However I couldn't test this setup (no official API key), so feel free to open a PR to fix any issues you find.
These are some of the things I'm sure we will see in the coming months, and I may tackle for more demos and PoCs:
| Back | FazBrowse Home | New Git URL |