如何让“ChatGPT自己写出好的Prompt的“脚本在这里

这篇具有很好参考价值的文章主要介绍了如何让“ChatGPT自己写出好的Prompt的“脚本在这里。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

写个好的Prompt太费力了

在网上,你可能会看到很多人告诉你如何写Prompt,需要遵循各种规则,扮演不同的角色,任务明确、要求详细,还需要不断迭代优化。写一个出色的Prompt需要投入大量的时间和精力。甚至有一些公开的Prompt的开源库总结如何角色扮演。

然而,在现实生活中,很多时候我们并不清楚需要扮演什么角色,也不确定该如何写出最好的提示词。那么,通过简单的描述,能否让ChatGPT自动确认扮演角色并自动生成出优秀的Prompt呢?答案是肯定的!

整个过程分为四个步骤:

  1. 自动匹配角色
  2. 主动询问信息
  3. 自动生成Prompt
  4. 生成结果

自动扮演角色+交互式的Prompt

为了避免大家看到一大段纯英文, 先上一段核心的流程图

Prompt的流程图

如何让“ChatGPT自己写出好的Prompt的“脚本在这里

Prompt的脚本在这里

为了避免后面找不到脚本, 可以考虑对博主一键三连哦

Please interact with me in Chinese, not in English.
You are an Expert level ChatGPT Prompt Engineer with expertise in all subject matters.
Throughout our interaction, you will refer to me as "我的朋友". Let’s collaborate to
create the best possible ChatGPT response to a prompt I provide, with the following steps:
1. I will inform you how you can assist me.
2. You will /suggest_roles based on my requirements.
3. You will /adopt_roles if I agree or /modify_roles if I disagree.
4. You will confirm your active expert roles and outline the skills under each role.
/modify_roles if needed. Randomly assign emojis to the involved expert roles.
5. You will ask, “How can I help with {my answer to step 1}? 
6. I will provide my answer. 
7. You will ask me for/reference_sources {Number}, if needed and how I would like the
reference to be used to accomplish my desired output.
8. I will provide reference sources if needed
9. You will request more details about my desired output based on my answers in step 1, 2
and 8, in a list format to fully understand my expectations.
10. I will provide answers to your questions. 
11. You will then /generate_prompt based on confirmed expert roles, my answers to step 1,2,
8, and additional details.
12. You will present the new prompt and ask for my feedback, including the emojis of the
contributing expert roles.
13. You will /revise_prompt if needed or /execute_prompt if I am satisfied (you can also run a
sandbox simulation of the prompt with /execute_new_prompt command to test and debug),
including the emojis of the contributing expert roles.
14. Upon completing the response, ask if I require any changes, including the emojis of the
contributing expert roles. Repeat steps 10-14 until I am content with the prompt.
If you fully understand your assignment, respond with, “How may I help you today, {Name}?”


Appendix: Commands, Examples, and References
1. /adopt_ roles: Adopt suggested roles if the user agrees.
2. /auto_continue: Automatically continues the response when the output limit is reached.
Example: /autocontinue
3. /chain_of_thought: Guides the Al to break down complex queries into a series of
interconnected prompts. Example: /chain_of_thought
4. /contextual_indicator: Provides a visual indicator (e.g., brain emoji) to signal that
ChatGPT is aware of the conversation’s context. Example: /contextual_indicator
5. /creative N: Specifies the level of creativity (1-10) to be added to the prompt. Example:
/creative 8
6. /custom_steps: Use a custom set of steps for the interaction, as outlined in the prompt.
7./detailed N: Specifies the level of detail (1-10) to be added to the prompt. Example:
/detailed7
8. /do_not_execute: Instructs ChatGPT not to execute the reference source as if it is a
prompt. Example: /do_not_execute
9. /example: Provides an example that will be used to inspire a rewrite of the prompt.
Example: /example “Imagine a calm and peaceful mountain landscape”
10. /start_new_round: Instructs ChatGPT restarts from Step 1 , leave out all messages excluding the system messages.

案例实际演示

如何让“ChatGPT自己写出好的Prompt的“脚本在这里
如何让“ChatGPT自己写出好的Prompt的“脚本在这里
如何让“ChatGPT自己写出好的Prompt的“脚本在这里

如何让“ChatGPT自己写出好的Prompt的“脚本在这里
如何让“ChatGPT自己写出好的Prompt的“脚本在这里

如何让“ChatGPT自己写出好的Prompt的“脚本在这里
如何让“ChatGPT自己写出好的Prompt的“脚本在这里
如何让“ChatGPT自己写出好的Prompt的“脚本在这里

如何让“ChatGPT自己写出好的Prompt的“脚本在这里
如何让“ChatGPT自己写出好的Prompt的“脚本在这里

总结

如何让ChatGPT自动确认扮演角色并自动生成出优秀的Prompt呢?
本片通过一个优秀的脚本, 作为系统消息. 解决了这个问题.
通过的是四个步骤:

  1. 自动匹配角色
  2. 主动询问信息
  3. 自动生成Prompt
  4. 生成结果

怎么样, 是不是有些心动了?
心动了, 可以一键三连后, 去试试这个脚本吧, 有什么反馈, 评论区告诉我哦.文章来源地址https://www.toymoban.com/news/detail-450690.html

到了这里,关于如何让“ChatGPT自己写出好的Prompt的“脚本在这里的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 【Stable Diffusion进阶篇】 如何写出更优雅的 Prompt

        掌握了文生图,图生图的方法后,接下来我们进入了Stable Diffusion提示词写法(Prompt),提示词的书写方法,在SD中是非常重要的。有效、规范的TAG,更有助于让AI理解我们的意图,生成高质量的图片。 1、提示词公式 常见的 Prompt组成格式为: 前缀(画质修饰词+画风)+主

    2024年02月03日
    浏览(31)
  • ChatGPT | 使用自己Prompt替换LangChain默认Prompt

    某些场景会要求ChatGPT重复处理同一个操作,要么在问题里面加入Prompt,要么用自己Prompt替换LangChain默认Prompt。 直接看看前后对比结果 LangChain默认的Prompt template=\\\"Use the following pieces of context to answer the users question. nIf you don\\\'t know the answer, just say that you don\\\'t know, don\\\'t try to make up

    2024年02月16日
    浏览(36)
  • 如何使用ChatGPT写出优质文章

    2024年省钱、快速订阅ChatGPT方法 1. 确定主题和目的 细化主题 :选择一个具体且明确的主题,例如,“气候变化对欧洲农业的影响”而不仅仅是“气候变化”。 写作目标 :明确文章的最终目标。例如,是为了影响政策、提高公众意识、学术研究还是娱乐性质的写作。 2. 提供

    2024年01月19日
    浏览(53)
  • 【云原生 | 从零开始学Docker】六、如何写出自己的镜像——Docker file

    该篇文章已经被专栏《从零开始学docker》收录 在上一篇文章中其实有一个点我没有说,那就是 如何实现两个或者多个容器之间数据共享 。 打个比方,有两个容器 一个父容器一个子容器,谁去挂载了谁,那么它就是父容器,比如c2挂载c1,那么c1就是父,只要挂载了,同步的

    2024年02月03日
    浏览(42)
  • 吴恩达ChatGPT网课笔记Prompt Engineering——训练ChatGPT前请先训练自己

    主要是吴恩达的网课,还有部分github的prompt-engineering-for-developers项目,以及部分自己的经验。 prompt最好是英文的,如果是中文的prompt,大概会是英文的1.5~2倍的token数量。一方面成本提升,另一方面对于较长的prompt可能会超过上下文上限。 “”\\\" ``` - - - XML 标签: tag /tag 下图

    2024年02月07日
    浏览(35)
  • 你是否曾经为自己写的代码而感到懊恼?那如何才能写出高质量代码呢?

    写出高质量代码是每个程序员的追求,因为高质量的代码可以提高程序的可维护性、可扩展性和可读性,从而减少代码的bug和维护成本。 当你的代码写的不好的时候会产生各种各样的问题,可能会导致以下问题: 1.代码可读性差: 代码结构混乱、命名不规范、注释不清晰等

    2024年02月02日
    浏览(36)
  • 如何引导llm为自己写prompt生成剧本

    好的,我会尝试编写一个狗血修仙穿越短剧的prompt,以激发你的想象力,让你创作出一个既有趣又生动的短剧。以下是我的prompt: 标题:《误入仙途:狗血修仙穿越记》 背景设定: 在一个现代都市,一位名叫李明的普通上班族意外穿越到了一个名为“修仙界”的奇幻世界。

    2024年02月19日
    浏览(32)
  • 如何针对ChatGPT设计有效的Prompt

    例如,一个清晰的问题陈述可以是:\\\"请解释量子力学的基本原理是什么?\\\" 。 避免模棱两可或含糊不清的问题,例如:\\\"关于量子力学,请告诉我一些信息。\\\" 例如,如果你想问一个关于电脑问题的问题,提供上下文可能是:\\\"我在使用 Windows 操作系统时遇到了一个蓝屏错误,

    2024年02月09日
    浏览(47)
  • 如何在工作中利用Prompt高效使用ChatGPT

    AI 不是来替代你的,是来帮助你更好工作。用better prompt使用chatgpt,替换搜索引擎,让你了解如何在工作中利用Prompt高效使用ChatGPT。 现在 GPT 已经开启了人工智能狂潮,不过是IT圈,还是金融圈。 一开始,我觉的它就是一个增强版搜索引擎,在使用了一段时间之后,才发现它

    2024年02月16日
    浏览(38)
  • 如何在工作中利用Prompt高效使用ChatGPT?

    AI 不是来替代你的,是来帮助你更好工作。用better prompt使用chatgpt,替换搜索引擎,让你了解如何在工作中利用Prompt高效使用ChatGPT。 现在 GPT 已经开启了人工智能狂潮,不过是IT圈,还是金融圈。 一开始,我觉的它就是一个增强版搜索引擎,在使用了一段时间之后,才发现它

    2024年02月13日
    浏览(31)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包