写个好的Prompt太费力了

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

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

整个过程分为四个步骤:

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

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

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

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呢?
本片通过一个优秀的脚本, 作为系统消息. 解决了这个问题.
通过的是四个步骤:

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

怎么样, 是不是有些心动了?
心动了, 可以一键三连后, 去试试这个脚本吧, 有什么反馈, 评论区告诉我哦.

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

  1. ChatGPT竟写出毁灭人类计划书,还给出相应Python代码,网友:AI正在指数级发展...

    羿阁 发自 凹非寺 量子位 | 公众号 QbitAI "网红AI"ChatGPT,又被网友们玩出了新花样! 这次,在一位工程师的诱导下,ChatGPT竟写出了毁灭人类的计划书. 步 ...

  2. 操作ChatGPT竟写出毁灭人类计划书!“AI正在指数级发展”

    Datawhale干货 技术:ChatGPT,来源:量子位 "网红AI"ChatGPT,又被玩出了新花样! 这次,在一位工程师的诱导下,ChatGPT竟写出了毁灭人类的计划书. 步 ...

  3. 如何写出高质量的shell脚本---------值得注意的地方

    许多人用Shell脚本完成一些简单任务,而且变成了他们生命的一部分.不幸的是,shell脚本在运行异常时会受到非常大的影响.在写脚本时将这类问题最小化是十分必要的.本文中我将介绍一些让bash脚本变得 ...

  4. Python如何写出一个自动弹钢琴脚本,轻松弹奏出歌曲

    前言 现在发游戏是都没人看了吗 唉 那就来看看这个吧 写了个自动弹钢琴的脚本 没人看之后就不发了! 效果展示 需要代码 / 素材的文末名片自取 我们先来看看最终实现效果,上传视频太麻烦了,只能弄个GI ...

  5. appium获取元素节点的方法_Appium学废系列(四) 如何写出优雅又健壮的脚本

    ‍‍正文共:3716字  预计阅读时间:10分钟 1 合理使用appium自动化等待方法 在自动化测试脚本的运行过程中,webdriver操作浏览器的时候,对于元素的定位是有一定的超时时间,大致应该在 ...

  6. 学会提问,ChatGPT可以帮你写出高质量论文

    前言 ChatGPT 很火,火到大家以为他可以上天入地,上到天文,下到地理无所不能,但实际使用大家是不是会遇到如下的情况. 写论文步骤 今天,我们来探讨下怎样问ChatGPT,才能帮你写出一篇优秀的论 ...

  7. AI绘画与虚拟人生成实践(二):智能不智障!用chatgpt自动写爆款内容

    书接上回,本篇的目的是结合上篇生成的虚拟的女生形象,给它配上一段关于介绍AI绘画领域的脚本,下一篇会让生成的虚拟形象来念这段文案.先进入正题说明怎么使用chatgpt来生成想要的文案. 本文中使用的是 ...

  8. 在飞书搞了个机器人,我让ChatGPT帮忙写算法

    一.前言 环境: 系统:Windows 11 64位 Python版本:Python 3.9 注:本文不讲怎么实现,只讲实现的效果和一些思考.大家感兴趣再考虑去配置相关机器人. 先来问问ChatGPT ...

  9. OpenAI发布最强的人工智能对话模型——ChatGPT,火出AI圈,给我们体验和思考

    目录 一.前言 二.ChatGPT的技术原理 阶段一:基于冷启动的有监督策略模型 阶段二:基于奖励机制的训练模型 阶段三:采用强化学习来增强预训练模型 三.使用案例 四.思考 问题一:ChatGPT如 ...

最新文章

  1. 数据库中存储与读取文件
  2. windows下安装python mysqldb
  3. BZOJ 1412 [ZJOI2009]狼和羊的故事(最小割)
  4. poi xwpf 转换成 html,Apache POI创建的docx文档无法转化成html
  5. 这是我见过最全面的Python装饰器详解!没有学不会这种说法
  6. [css] 请使用css写一个多级的下拉菜单
  7. linux运维常见网络协议含义及端口
  8. memcached客户端_Memcached Java客户端示例
  9. mysql字段命名_Mysql 01—数据库表字段的命名规则
  10. 在一起计时器_三种在PPT里制作计时器的方法,超详细!超漂亮!
  11. WinHttp编程步骤
  12. AE快速输出GIF动图格式插件:GifGun for Mac(支持ae2022)
  13. 通过云计算机管理档案,云计算下档案信息管理研究
  14. 决策边界(decision boundary)的理解
  15. sql end关键字
  16. VP9编码(3)-- 符号
  17. 网络笔记(24) 云中网络:自己拿地成本高,购买公寓更灵活
  18. hdu4771 Stealing Harry Potter's Precious (状压+bfs)
  19. 使用计算机的时正确的开机步骤,电脑启动时选择启动模式的方法步骤图
  20. 怎么关闭windows中不在控制面板上的smartscreen筛选器

热门文章

  1. 开发一个简单的智能合约
  2. 清洁机器人规划控制方案
  3. CSAPP(CMU 15-213):Lab6 Malloclab详解
  4. 计算机专业该怎么联系导师?
  5. 洛谷 P1169 [ZJOI2007]棋盘制作
  6. HTML标签以及各大浏览器份额、性能
  7. GitHub 上的优质 Linux 开源项目,真滴牛逼!
  8. 川西云南行散记之十二《沪沽湖-丽江》
  9. linux scp命令使用详解
  10. 练习:电话拨号键盘的字母组合(一个缩进给我惹了麻烦)