Show HN: YAML to Django Using ChatGPT (brian.jp)

4 points by lofties ↗ HN
Like most of us, I've been obsessively playing with various LLMs. This lead me to an idea, can we take a YAML file with loosely defined models, and turn this into a full-fledged Django application using LLMs? As it turns out we can!

1 comment

[ 2.6 ms ] story [ 10.0 ms ] thread
As you'll likely have found out, or will, this is difficult to scale, keep reliable, and ensure correctness.

I've written a tool to go from declarative config to code: https://github.com/hofstadter-io/hof

We are using LLMs to write the JSON or Yaml part to be the input to hof, which can now interface with OpenAI and Google models directly now. This opens up the possibility to have modules for code gen'n anything with an LLM interface with all the prompts packaged along side it

There are interesting intersections of LLM and declarative code gen for sure!