- 长臂猿-企业应用及系统软件平台
点击上面卡片关注公众号
免费获取《玩转ChatGPT指南》
免费使用GPT共享账号和体验网站
这是一个国内小哥开发的GPT应用,受Twtter Bio和Danny Richman的启发,由OpenAI、Next.js、Vercel和Tailwind CSS提供支持。该项目使用OpenAI GPT-3 API(具体来说是text-davinci-003)和带有流式传输的Vercel Edge函数。它根据表单和用户输入构建提示,通过Vercel Edge函数将其发送到GPT-3 API,然后将响应流回应用程序。
我们可以称它为“打破砂锅问到底”,用来对付小孩子的“十万个为什么”再合适不过了。如我们提问“为什么我们需要学习”,它的回答如下:
大家可以自行去体验,体验网址:https://ask2end.com/
其实,原理很简单,就是内置了一段特定的提示词,它的提示词如下:
answering and asking in this pattern.
Question: The initial question
Answer: The answer to the initial questionQuestion: The question about the reason for the previous answerAnswer: The answer to the previous questionQuestion:
Keep asking about the reason for the last answer. Stop only when the answer is "That'sthe way it is" or "We don't know for now". Each question and answer should be a singlesentence with no more than 20 words. Add "Q: " before each question and "A: " beforeeach answer.
Ask and answer in "Chinese" regardless of the language l use. Don't show the translationprocess. Just write questions and answers in the destination language.Now, the initial question is: "Why do we need to study ?"
中文提示词如下:
按照这种模式进行问答。
Q: 初始问题是什么?
A: 回答初始问题的答案。
Q: 有关上一个回答原因的问题是什么?
A: 回答上一个问题的答案。
Q: 继续询问最后一次回答的原因。只有当回答为“就是这样”或“现在我们不知道”时才停止。
每个问题和回答应该是单个句子,不超过20个词。在每个问题之前添加“Q:”,在每个回答之前添加“A:”。
无论我使用哪种语言,请用中文提问和回复。请勿显示翻译过程,只需用目标语言编写问题和回复即可。
现在,初始问题是:“为什么我们需要学习?”
我把这段提示词输入到GPT-3.5,它的回复如下:
可以看出来跟上面的回答大同小异,看来GPT3和GPT3.5差别不是很大。我继续用GPT-4来提问,看它的回复:
至于哪个回答比较好,我这里就不置评了。既然我们有了提示词,我们自己都可以创建一个类似的专属聊天机器人,使用POE来创建,免费又实用。
今天的分享就到这里,希望对你有用!
与其自己辛苦摸索一整年,不如跟着专业人士实操一个月。为此,我们成立了AIGC研习社,专为小白赋能AI,实操落地提升效率。
本文来自AI研习站