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

写个好的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. 生成结果

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

如何学习大模型 AI ?

由于新岗位的生产效率,要优于被取代岗位的生产效率,所以实际上整个社会的生产效率是提升的。

但是具体到个人,只能说是:

“最先掌握AI的人,将会比较晚掌握AI的人有竞争优势”。

这句话,放在计算机、互联网、移动互联网的开局时期,都是一样的道理。

我在一线互联网企业工作十余年里,指导过不少同行后辈。帮助很多人得到了学习和成长。

我意识到有很多经验和知识值得分享给大家,也可以通过我们的能力和经验解答大家在人工智能学习中的很多困惑,所以在工作繁忙的情况下还是坚持各种整理和分享。但苦于知识传播途径有限,很多互联网行业朋友无法获得正确的资料得到学习提升,故此将并将重要的AI大模型资料包括AI大模型入门学习思维导图、精品AI大模型学习书籍手册、视频教程、实战学习等录播视频免费分享出来。

在这里插入图片描述

第一阶段(10天):初阶应用

该阶段让大家对大模型 AI有一个最前沿的认识,对大模型 AI 的理解超过 95% 的人,可以在相关讨论时发表高级、不跟风、又接地气的见解,别人只会和 AI 聊天,而你能调教 AI,并能用代码将大模型和业务衔接。

  • 大模型 AI 能干什么?
  • 大模型是怎样获得「智能」的?
  • 用好 AI 的核心心法
  • 大模型应用业务架构
  • 大模型应用技术架构
  • 代码示例:向 GPT-3.5 灌入新知识
  • 提示工程的意义和核心思想
  • Prompt 典型构成
  • 指令调优方法论
  • 思维链和思维树
  • Prompt 攻击和防范

第二阶段(30天):高阶应用

该阶段我们正式进入大模型 AI 进阶实战学习,学会构造私有知识库,扩展 AI 的能力。快速开发一个完整的基于 agent 对话机器人。掌握功能最强的大模型开发框架,抓住最新的技术进展,适合 Python 和 JavaScript 程序员。

  • 为什么要做 RAG
  • 搭建一个简单的 ChatPDF
  • 检索的基础概念
  • 什么是向量表示(Embeddings)
  • 向量数据库与向量检索
  • 基于向量检索的 RAG
  • 搭建 RAG 系统的扩展知识
  • 混合检索与 RAG-Fusion 简介
  • 向量模型本地部署

第三阶段(30天):模型训练

恭喜你,如果学到这里,你基本可以找到一份大模型 AI相关的工作,自己也能训练 GPT 了!通过微调,训练自己的垂直大模型,能独立训练开源多模态大模型,掌握更多技术方案。

到此为止,大概2个月的时间。你已经成为了一名“AI小子”。那么你还想往下探索吗?

  • 为什么要做 RAG
  • 什么是模型
  • 什么是模型训练
  • 求解器 & 损失函数简介
  • 小实验2:手写一个简单的神经网络并训练它
  • 什么是训练/预训练/微调/轻量化微调
  • Transformer结构简介
  • 轻量化微调
  • 实验数据集的构建

第四阶段(20天):商业闭环

对全球大模型从性能、吞吐量、成本等方面有一定的认知,可以在云端和本地等多种环境下部署大模型,找到适合自己的项目/创业方向,做一名被 AI 武装的产品经理。

  • 硬件选型
  • 带你了解全球大模型
  • 使用国产大模型服务
  • 搭建 OpenAI 代理
  • 热身:基于阿里云 PAI 部署 Stable Diffusion
  • 在本地计算机运行大模型
  • 大模型的私有化部署
  • 基于 vLLM 部署大模型
  • 案例:如何优雅地在阿里云私有部署开源大模型
  • 部署一套开源 LLM 项目
  • 内容安全
  • 互联网信息服务算法备案

学习是一个过程,只要学习就会有挑战。天道酬勤,你越努力,就会成为越优秀的自己。

如果你能在15天内完成所有的任务,那你堪称天才。然而,如果你能完成 60-70% 的内容,你就已经开始具备成为一名大模型 AI 的正确特征了。

这份完整版的大模型 AI 学习资料已经上传CSDN,朋友们如果需要可以微信扫描下方CSDN官方认证二维码免费领取【保证100%免费
  • 24
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值