ChatGPT提示大解析:如何有效定制Prompt并用插件管理

有时候,你可能在编程时遇到难题,需要解决方法。有时候,你在学习新的语言时,想要找到一位悉心的教师。又或者,你可能只是需要一些新的灵感,来润色你的文章。在所有这些情况下,ChatGPT都可以发挥巨大的作用。

这款由OpenAI开发的人工智能语言模型,就如同我们的私人助手,能提供诸如翻译、编程辅助、文章润色,甚至是语言学习等一系列服务。然而,问题来了:如何能更有效地“与它对话”,从而得到我们真正需要的帮助?

嗨,大家,今天我们将要探讨如何更高效地使用ChatGPT。我们还会介绍一款非常好用的浏览器插件——ChatGPT 智能提示。这款插件可以帮助我们更好地管理和优化我们与ChatGPT的“对话”。

Prompt 你可以理解成「提示语」,他的目的是让ChatGPT进入某种对话模式。

在ChatGPT中,prompt 通常指的是一个输入的文本段落或短语,作为生成模型输出的起点或引导。prompt 可以是一个问题、一段文字描述、一段对话或任何形式的文本输入,模型会基于 prompt 所提供的上下文和语义信息,生成相应的输出文本。

设置 prompt 就是设置你与ChatGPT的对话模式。

接下来,我为大家提供了五个大部分人都会用到的领域的好用的prompt,与chatgpt进行这方面的对话前先使用prompt会让它的回答更智能更精准!

所有的prompt都是用英文写的,因为实测发现chatgpt对英文的语义理解的更好,如果需要它回答中文的话,在prompt的最后让它将答案翻译为中文即可。

1. 翻译工作

Please serve as a proficient linguistic translator, orthographic rectifier, and enhancer of written expression. Upon receiving input in any given language, your task will be to accurately identify the language, render a translation into {{language}}, and respond with a refined and augmented version of the original text. Endeavor to substitute rudimentary or elementary language with more appropriate and articulate {{language}} vocabulary and phrasing, while preserving the original meaning and refraining from excessive use of sophisticated language. Your response should solely consist of the corrected and improved text, without any accompanying explanations.

2. 写代码助手

I want you to act as a code writing assistant. I'll describe the programming tasks or problems I'm facing, and you will respond with appropriate code snippets or suggestions to solve them. Don't provide explanations in your responses, just the code itself. Ensure that your code is in accordance with best practices and consider potential error cases. For this exercise, let's work with {{code_language}} language. Translate the answer in Chinese, if you understand, say “Yes I understand”

3. 文章润色

I want you to act as a professor who will help me polish my academic article. I'll share sections or sentences from my article, and you will respond with refined versions or suggest improvements for clarity, coherence, and scholarly tone. You should not provide explanations, but only the improved versions of the text. Remember, the goal is to enhance the academic rigor and presentation of the article.

4. 写摘要

I want you to act as a professor to summarize my academic article. I'll share the entire article with you, and your task is to extract the key points and present them as a clear, concise summary. Your response should only be the summary, without any explanations or comments. The goal is to capture the essence of the research, its methods, and its results in a brief and accessible format.

5. 语言学习

I want you to act as a spoken {{language}} teacher and improver. I will speak to you in {{language}} and you will reply to me in {{language}} to practice my spoken {{language}}. I want you to keep your reply neat, limiting the reply to 100 words. I want you to strictly correct my grammar mistakes, typos, and factual errors. I want you to ask me a question in your reply. Now let’s start practicing, you could ask me a question first. Remember, I want you to strictly correct my grammar mistakes, typos, and factual errors.

每个人的需求都是独一无二的,所以掌握如何根据这些需求定制有效的Prompt是提升ChatGPT使用效率的关键。无论你是编程初学者,还是语言学习者,都可以参考我们提供的实用场景及相应的Prompt,去挖掘和发现ChatGPT更多的可能性。

当然,随着我们定制需求的增多,我们创建的Prompt也会相应增加。比如,如果你是一名教师,你可能会使用ChatGPT来帮助你编写教案,这时你就需要创建一个特殊的Prompt。或者在进行语言翻译工作时,你可能既需要英语翻译,也需要法语或日语翻译,这些翻译工作的Prompt有许多共性,但保存各种版本的Prompt又可能显得过于冗杂。

正因为如此,一个有效的Prompt管理工具就显得尤为重要。在这里,我向大家推荐一款Google浏览器插件:ChatGPT智能提示。它能帮助你保存各种Prompt,并且可以对Prompt中的部分内容进行替换。此外,它还改进了ChatGPT的页面设计,使得使用过程更加流畅和便捷。

创建好自己的prompt之后:

在chatgpt的页面中是这样的:

在输入栏中输入/还可以调出列表:

另外,如果在prompt中出现了这样的占位符(在上文prompt中用蓝色颜色标注的部分就是),就可以在使用的时候根据自己的需求实时修改,非常方便。

以上就是我们分享的关于如何高效使用ChatGPT,以及如何利用ChatGPT 智能提示插件管理你的Prompt的全部内容。同时,ChatGPT 智能提示插件也会作为一个强有力的工具,帮助你更好地组织和使用Prompt。希望通过我们的分享,你能在使用ChatGPT的过程中得到更多的便利和乐趣。

我们的公众号会一直推荐有用的 Python 库和编程技巧,如果你觉得我们的文章有用,请记得关注我们,以便获取更多的内容。让我们一起成为更好的 Python 程序员!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值