<div class="flex-1 overflow-hidden" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="react-scroll-to-bottom--css-nmcoy-79elbk h-full" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="react-scroll-to-bottom--css-nmcoy-1n7m0yu" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="flex flex-col text-sm pb-9" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="w-full text-token-text-primary" data-testid="conversation-turn-11" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="px-4 py-2 justify-center text-base md:gap-6 m-auto" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="flex flex-1 text-base mx-auto gap-3 md:px-5 lg:px-1 xl:px-5 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem] group final-completion" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="relative flex w-full flex-col agent-turn" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="flex-col gap-1 md:gap-3" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="flex flex-grow flex-col max-w-full" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="min-h-[20px] text-message flex flex-col items-start gap-3 whitespace-pre-wrap break-words [.text-message+&]:mt-5 overflow-x-auto" data-message-author-role="assistant" data-message-id="a65a33ba-1255-4bf0-b028-15b6dd243188" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <div class="markdown prose w-full break-words dark:prose-invert light" data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">在 OpenAI 官方的说明文档中,也就是我们常常提到的“<a href="https://platform.openai.com/docs/guides/gpt-best-practices/gpt-best-practices" target="_blank" rel="noopener">官方最佳实践</a>”,为用户提供了若干项策略,以帮助用户更好的使用 ChatGPT。</p> <h2 data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">策略一:编写清晰的说明</h2> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">在询问中包含详细信息,以获得更多相关答复。这是因为,大模型不是我们肚子里的蛔虫,它无法在有限的信息中“猜测”我们的意图。所以,在问问题的时候,不要惜字如金,多说一些内容,多提供一些信息,这样可以很有效地提高大模型回复的质量和丰富性。</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"><img class="size-medium_large wp-image-5103 aligncenter" src="https://img.xiaohu.ai/2024/03/ed837a94f3e9adb82ea92b1d3243fe33-1-768x1006.png" alt="" width="768" height="1006" /></p> <h3 data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">示例 1</h3> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">当我们想要大模型为我们提供一些思维模型时,本能的问法可能是:“给我列几个思维模型”。于是很常见以下这样的对话:</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">当我们愿意给出更多信息,比如我们为什么需要这个模型,希望 ChatGPT 列举三个模型,以及是否有我们已知的模型作为参考时,ChatGPT 可以提供更加符合我们预期的回答。</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"><img class="size-medium_large wp-image-5105 aligncenter" src="https://img.xiaohu.ai/2024/03/620761fcbe3241e32b52c1ee3d86f2b4-768x1081.png" alt="" width="768" height="1081" /></p> <h3 data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">示例 2</h3> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">假设我们想请 ChatGPT 帮助我们记忆一个比较抽象的概念,我们可能会脱口而出这样的问题:</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"><img class="size-medium_large wp-image-5104 aligncenter" src="https://img.xiaohu.ai/2024/03/e2b3292bfd182c7d0eb61aca8ddcf953-768x582.png" alt="" width="768" height="582" /></p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">但如果我们停下来思考一下,深想一步,提供更多细节,就能得到更符合期望的回答了。</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"><img class="size-medium_large wp-image-5106 aligncenter" src="https://img.xiaohu.ai/2024/03/dcf1049e0e4ba2f36bf36b115d6e89b3-768x913.png" alt="" width="768" height="913" /></p> <h3 data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">最后</h3> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">我们想通过 ChatGPT 来了解提示词,这是一个坏例子。</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"><img class="size-medium_large wp-image-5109 aligncenter" src="https://img.xiaohu.ai/2024/03/79ec8372fe7039aa627ad94aaaa82e46-768x328.png" alt="" width="768" height="328" />让我们给出特定的情景和进一步思考的问题。</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"><img class="size-medium_large wp-image-5108 aligncenter" src="https://img.xiaohu.ai/2024/03/b4940ee2dd9b4851e8d57cad96c4390d-768x625.png" alt="" width="768" height="625" /></p> <hr /> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b">✨ 如果觉得有收获,请留言告诉我你的感受 ✨</p> <p data-immersive-translate-walked="9a3d21b7-903e-4fb3-9c7e-6b8ae3e2465b"> 这可以让我知道你们的阅读情况。</p> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div>