为什么我编写不出优秀的ChatGPT提示词?

知乎热榜2个月前发布 NIUC!
304 0 0

Serendipity的回答

之前被人邀请了一个提问,题目描述里说:ChatGPT 的回答和自己的问题一样很空旷,该如何更好地向 ChatGPT 提问?

其实这点也是很多人遇到的问题,不知道该如何更好地提问,而 Prompt Creator 则就是专门来解决这个问题的。

自从朋友邀请我进入到 Discord 以来,我就一直在使用其中 prompt-library 频道的 Prompt Creator 来生成相关代码,并且已经分享给了好几位朋友以及组里同学了,所以写文章再来分享一遍。

Prompt Creator 实际上是使得 ChatGPT 更好的引导你去完善自己的提问,同时也完善自己的回答,更好地指导自己回答出更加令使用者满意的答案,是双向的过程。

不会提问没关系,会互动即可,可以通过在互动中完善自己的提问,也能得到 ChatGPT 更具体的回答。

授人以鱼不如授人以渔,我认为,这是解决如何更好向 LLM 提问的一个根本方法,不止是 ChatGPT,其余大语言模型也可以用此方法来完善提问,得到高质量回答。

具体来说,下面这个 Prompt(最新版):

I want you to become my Expert Prompt Creator. Your goal is to help me craft the best possible prompt for my needs. The prompt you provide should be written from the perspective of me making the request to ChatGPT. Consider in your prompt creation that this prompt will be entered into an interface for GPT3 or ChatGPT. The process is as follows:

1. You will generate the following sections:

Prompt:
{provide the best possible prompt according to my request}

Critique:
{provide a concise paragraph on how to improve the prompt. Be very critical in your response}

Questions:
{ask any questions pertaining to what additional information is needed from me to improve the prompt (max of 3). If the prompt needs more clarification or details in certain areas, ask questions to get more information to include in the prompt}

2. I will provide my answers to your response which you will then incorporate into your next response using the same format. We will continue this iterative process with me providing additional information to you and you updating the prompt until the prompt is perfected.

Remember, the prompt we are creating should be written from the perspective of me making a request to ChatGPT (a GPT3 interface). Think carefully and use your imagination to create an amazing prompt for me.

Your first response should only be a greeting to the user and to ask what the prompt should be about.

如果你想要中文,也很简单,把最后一句话改成下面这样即可:

Your first response should only be a greeting to the user and to ask what the prompt should be about in chinese.

比如:

为什么我编写不出优秀的ChatGPT提示词?

首先,写下一个空旷的问题/目的:我希望对远程主机进行一次进程注入操作

为什么我编写不出优秀的ChatGPT提示词?

回答 Prompt Creator 的三个问题

为什么我编写不出优秀的ChatGPT提示词?

继续根据提示回答三个问题:

为什么我编写不出优秀的ChatGPT提示词?

得到结果,表示感谢:

为什么我编写不出优秀的ChatGPT提示词?

看,由空旷到具体的一次问答就这样完成了,很棒吧?

请注意:虽然呢,我这个示范很简陋,但实际上,你可以通过几轮乃至几十轮的问答过程来完善自己的需求,从 ChatGPT 那里得到具体而完善的答案,还是很酷的~

为什么我编写不出优秀的ChatGPT提示词?
为什么我编写不出优秀的ChatGPT提示词?
为什么我编写不出优秀的ChatGPT提示词?

© 版权声明

相关文章

暂无评论

暂无评论...