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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

GPT3 'make things up as you go'-driven development

9 点作者 nadaviv超过 2 年前

1 comment

nadaviv超过 2 年前
TL;DR: just pretend some code repo exists, interact with it, and GPT will happily fill in the blanks.<p>Example:<p><pre><code> # Start with the &quot;act as a terminal&quot; preface (https:&#x2F;&#x2F;github.com&#x2F;f&#x2F;awesome-chatgpt-prompts#act-as-a-linux-terminal) git clone https:&#x2F;&#x2F;github.com&#x2F;shesek&#x2F;veterinarian-app cd veterinarian-app node src&#x2F;webserver.js --port 5051 curl -X POST localhost:5051&#x2F;api&#x2F;customers&#x2F;create -d name=&#x27;Bob Marlin&#x27; -d phone=050-1112223 -d email=bobml@gmail.com curl localhost:5051&#x2F;api&#x2F;customers?fields=id,uri,name,phone,email,created_at,updated_at,num_animals,next_visit # src&#x2F;webserver.js will now exists with an implementation of the API endpoints. .&#x2F;util&#x2F;db-dump-json.sh --include customers,animals --out-file dump.json # db-dump-json.sh will now exists, including argument parsing&#x2F;validation and usage help text. </code></pre> The twitter thread lists some more examples. It&#x27;s pretty mind blowing to me that this is possible!