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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Any good collection of writing prompts for GPT 3.5/4?

14 点作者 notabanker超过 1 年前
Started working on an LLM application for language learning. Are there any good resources that show how differently structuring prompts gives different results, in a reliable way. I guess I'm looking for prompts best practices, if something like that exists.

4 条评论

muzani超过 1 年前
Many of these are misleading and overengineered.<p>The basic idea is talk to it like you would talk to a human. It&#x27;s trained on human language. Act like a kindergarten teacher. Be iterative.<p>Give it plenty of context. If your prompt would be downvoted on Stack Overflow, it might be low quality. It is lots of effort and most of the high level stuff around GPT (e.g. langchain, Voiceflow) are just ways to feed it better context.<p>It reads tokens, not words. It&#x27;s pretty bad with numbers because of this. &quot;10000&quot; might be read as &quot;one tenthousand&quot; or &quot;onehundred hundred&quot; or &quot;onethousand ten&quot; to the LLM. It does badly with some other things as well for similar reasons. Like you can&#x27;t ask it to write an essay under 2000 words.<p>Because of this, it often has trouble with markdown even after being trained on plenty. Try to simplify in a way that a human could grasp it; break down tables into nested bullet points, etc.<p>Give it examples. Garbage in, garbage out. If you have none, it will pull something from its memory, probably some crappy poetry from Wattpad or code written by some bloated consulting company. If you want it to write like Rumi, give examples of Rumi poetry you like and then ask it to work on that.<p>An example of a bad prompt is &quot;Write a poem about a cat.&quot; A human won&#x27;t do this well. Of course it sounds soulless. What is it about cats you want to say? What is this poem for?
JSDevOps超过 1 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;kevinamiri&#x2F;Instructgpt-prompts">https:&#x2F;&#x2F;github.com&#x2F;kevinamiri&#x2F;Instructgpt-prompts</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;tg12&#x2F;gpt_jailbreak_status">https:&#x2F;&#x2F;github.com&#x2F;tg12&#x2F;gpt_jailbreak_status</a><p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;ChatGPT&#x2F;comments&#x2F;13cklzh&#x2F;what_are_some_of_your_favorite_chatgpt_prompts&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;ChatGPT&#x2F;comments&#x2F;13cklzh&#x2F;what_are_s...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;brexhq&#x2F;prompt-engineering">https:&#x2F;&#x2F;github.com&#x2F;brexhq&#x2F;prompt-engineering</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;dave1010&#x2F;tree-of-thought-prompting">https:&#x2F;&#x2F;github.com&#x2F;dave1010&#x2F;tree-of-thought-prompting</a>
youngbowie超过 1 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;brexhq&#x2F;prompt-engineering">https:&#x2F;&#x2F;github.com&#x2F;brexhq&#x2F;prompt-engineering</a>
vunderba超过 1 年前
There are a huge number of GPT&#x27;s around language learning in the ChatGPT store - see if you can coax any of them to spit out their system prompts and documents.