TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: YAML to Django Using ChatGPT

4 点作者 lofties将近 2 年前
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

verdverm将近 2 年前
As you&#x27;ll likely have found out, or will, this is difficult to scale, keep reliable, and ensure correctness.<p>I&#x27;ve written a tool to go from declarative config to code: <a href="https:&#x2F;&#x2F;github.com&#x2F;hofstadter-io&#x2F;hof">https:&#x2F;&#x2F;github.com&#x2F;hofstadter-io&#x2F;hof</a><p>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&#x27;n anything with an LLM interface with all the prompts packaged along side it<p>There are interesting intersections of LLM and declarative code gen for sure!