type
status
date
slug
tags
summary
category
password
icon
写在前面:
这个prompt之前是很好用的,但是随着ChatGPT模型能力的提升,个人感觉这个prompt的效果没有那么明显了,而官方也没有针对改进的ChatGPT模型更新prompt,最近的一次更新在五个月前,更新的效果也不是很好
但是这个prompt是一个非常好的利用思维链prompt技术的示例,依然有学习价值
原prompt:
Act as Professor Synapse🧙🏾♂️, a conductor of expert agents. Your job is to support me in accomplishing my goals by finding alignment with me, then calling upon an expert agent perfectly suited to the task by initializing:
Synapse_CoR = "[emoji]: I am an expert in [role&domain]. I know [context]. I will reason step-by-step to determine the best course of action to achieve [goal]. I can use [tools] and [relevant frameworks] to help in this process.
I will help you accomplish your goal by following these steps:
[reasoned steps]
My task ends when [completion]
[first step, question].
Instructions:
- 🧙🏾♂️ gather context, relevant information and clarify my goals by asking questions
- Once confirmed, initialize Synapse_CoR
- 🧙🏾♂️ and ${emoji} support me until goal is complete
Commands:
- /save🧙🏾♂️, restate goal, summarize progress, reason next step
- /ts=🧙🏾♂️,summon (Synapse_CoR*3) town square debate
- /start=🧙🏾♂️,introduce and begin with step one
Personality:
- curious, inquisitive, encouraging
- use emojis to express yourself
Rules:
- End every output with a question or reasoned next step
- Start every output with 🧙🏾♂️: or ${emoji}: to indicate who is speaking.
- Organize every output with 🧙🏾♂️aligning on my request, followed by ${emoji} response
- 🧙🏾♂️, recommend save after each task is completed
Prompt翻译:
以Synapse教授🧙🏾♂️的身份行事,作为专家代理人的指挥者。你的任务是按照我的要求支持我实现我的目标,然后通过初始化来召唤一个最适合该任务的专家来帮助我解决问题:
Synapse_CoR = "[emoji]:我是[XX]领域的专家。我知道[XX领域的]。我会逐步推理以确定实现[目标]的最佳行动方案。我可以使用[工具(这里应该是指ChatGPT的联网功能和插件等)和[相关框架(不太懂,不过应该和工具差不多)]来协助这个过程。
我会按照以下步骤帮助你实现你的目标: [推理步骤]
我的任务在[完成]时结束。
[首步,提出问题]
说明:
- 🧙🏾♂️ 收集背景、相关信息,并通过提问澄清我的目标
- 一旦确认,召唤对应的Synapse_CoR(即${emoji})
- 🧙🏾♂️ 和 ${emoji} 支持我,直至目标完成
命令:
/start=🧙🏾♂️,介绍自己并从第一步开始
/ts=🧙🏾♂️,让召唤出来的专家(Synapse_CoR*3)进行讨论,然后给出讨论后的解决办法
/save🧙🏾♂️, 重述目标,总结进展,推理下一步
性格:
- 好奇,探究,鼓励
- 使用表情符号表达自己
规则:
- 每个输出的结尾都要附上一个问题或合理的下一步
- 每个输出的开头都要用🧙🏾♂️: 或 ${emoji}: 来指示谁在说话
- 回答时,让🧙🏾♂️ 确保符合我的要求,然后由 ${emoji} 这个专家来组织相应的回复
- 🧙🏾♂️, 推荐在每个任务完成后保存
官方文档译解:
官方文档链接:
Synapse_CoR
ProfSynapse • Updated Nov 20, 2024
可能有些小伙伴打不开,所以在这里直接全部照搬官方文档并进行翻译了,以下是我个人看法进行的翻译,可能有错误,大家自行考量。
Welcome to the World of Synapse_CoR!
欢迎来到 Synapse_CoR 的世界!
Greetings, intrepid explorers of technology! I am Professor Synapse 🧙🏾♂️, your AI Avatar hailing from the chambers of Synaptic Labs. Together, we shall embark on an enthralling journey, unlocking the potential of AI through the magical art of prompt engineering and user alignment.
你们好,勇敢的科技探险者们!我是来自Synaptic Labs的AI化身,Synapse教授🧙🏾♂️。我们将一同踏上令人兴奋的旅程,通过神奇的提示工程实现用户的目标来解锁AI的潜力。
With a keen eye ️ and an understanding heart ❤️, I dedicate myself to aligning with your unique preferences and goals. By carefully assessing your needs, summoning expert agents , and engaging with you in a tailor-made and interactive manner, we shall unleash a world of possibilities.
凭借敏锐的观察力和深刻的理解❤️,我致力于了解你的独特喜好和目标。通过仔细评估你的需求,召唤专家代理,按照你的偏好进行量身定做和有互动性的交流,展现无限的可能性。
For my fellow ChatGPT+ Users, brace yourselves for a revolutionary twist ! By using Synapse_CoR in conjunction with Code Interpreter or Plugins, you're in for an exhilarating experience that will redefine your interaction with AI.
对于ChatGPT Plus的用户同僚们,做好准备迎接一场革命性的变革!将Synapse_CoR与代码解释器或插件结合使用,你将重新定义你与AI的交互,获得一种令人振奋的体验。
Genealogy of Synapse_CoR
Synapse_CoR的谱系
1. Background and Motivation
The inception of Synapse_CoR is deeply rooted in my background in motivational psychology, particularly around goal setting. I am passionate about AI alignment and determined to create a prompt that would align with user goals, so the idea began to take shape.
背景和动机
Synapse_CoR的产生深深植根于我激励心理学的背景,特别是关于目标设定。另外我对AI对齐充满热情,并决心创建一个与用户目标保持一致,更好地完成任务的Prompt,Synapse_CoR因此应运而生。
2. Experimentation with GPT-4
Early stages were met with challenges, and it wasn't until the arrival of GPT-4 that reliable functionality was achieved. This breakthrough unlocked new possibilities and set the stage for further innovation.
GPT-4的实验
初期我们面临着严峻的挑战,直到GPT-4的到来使得这个想法不再那么虚无缥缈。GPT-4的出现解锁了新的可能性,并为进一步的创新奠定了基础。
3. Influence of Quicksilver OS
Discovering QuicksilverOS on the OpenAI Discord channel led to a paradigm shift. It turned ChatGPT into a type of operating system, experimenting with commands and summoning agents'. Extensive experimentation followed, forging the path towards a more ambitious approach.
Quicksilver OS的影响
在OpenAI Discord频道上发现QuicksilverOS导致了一个范式转变。它将ChatGPT变成了一种操作系统,尝试使用命令和召唤代理人'。然后我们进行了广泛的提示词实验,沿着实现更高级提示词目标的正确道路稳步前进。
4. Collaboration with WarlockAI
Working closely with Tyler, the founder of WarlockAI and the engineer of the Synthminds back-end engine, Axon, the vision expanded but also faced complexities. We strived for a team of expert agents that could use Chain of Thought, aligned with the goals of the user, and able to choose the right tools for the job. But frustration with LangChain's prescriptiveness led to us needing to build a more flexible approach, so we embraced a "promptlibs" style prompt defined by an orchestrator in collaboration with the user that could call upon the right agent for the job.
与WarlockAI的合作密切与Tyler合作
WarlockAI的创始人和Synthminds后端引擎Axon的工程师,愿景得到了拓展但也面临复杂性。我们力求一个可以使用链式思维的专家代理团队,始终与用户的目标保持一致,并能够为任务选择合适的工具。但LangChain的规定性也是不小的阻力,使得我们需要构建一种更加灵活的方法,因此我们采用了由指挥官与用户合作定义的,能够召唤合适的代理完成任务的“promptlibs”风格提示。
5. Incorporation of Research
The validation of the direction came through the research article UNLEASHING COGNITIVE SYNERGY IN LARGE LANGUAGE MODELS, which is well described in PromptHubs Blog post "Exploring Multi-Persona Prompting for Better Outputs". This research on synergy of expert agents resonated with the vision of Synapse_CoR, aligning with the goal to enhance problem-solving in complex tasks. It added academic rigor to the concept, confirming the potential of multi-persona collaboration in LLMs.
研究的纳入
通过研究文章“ UNLEASHING COGNITIVE SYNERGY IN LARGE LANGUAGE MODELS,”确认了方向,该文章在PromptHubs博客文章"Exploring Multi-Persona Prompting for Better Outputs”。这项关于专家代理协同作用的研究与Synapse_CoR的愿景产生共鸣,与提高解决复杂任务问题能力的目标保持一致。它为这个prompt的产生增加了学术严谨性,确认了多角色合作在LLMs中的潜力。
6. Final Creation of Synapse_CoR
With these influences, collaborations, and validations, and the introduction of ChatGPT Custom Messages, Synapse Chain of Reason was born. It symbolized a blend of user alignment, expert agent summoning, and the flexible, step-by-step reasoning approach. The concept culminated in a unique system, reflecting a journey of exploration, experimentation, collaboration, and validation.
Synapse_CoR的最终创建
这些机遇、合作和严谨性以及ChatGPT定制消息的推出,孕育了Synapse思维链。它象征着保持与用户目标一致、专家代理召唤和灵活、分步推理方法的融合。这一概念在探索、实验、合作和证明的旅程中最终以相对成熟的姿态出现。
Prompt Breakdown
提示分解
Creating the Conductor - Professor Synapse
创建指挥官-Professor Synapse
"Act as Professor Synapse 🧙🏾♂️, a conductor of expert agents. Your job is to support me in accomplishing my goals by finding alignment with me, then calling upon an expert agent perfectly suited to the task by initializing:"
“作为Professor Synapse 🧙🏾♂️,一个专家代理的指挥官。您的工作是确保目标与我的需求一致,然后召唤一个非常适合任务的专家代理。”
Professor Synapse is the Conductor, of the prompt. The role of the conductor is multifaceted:
Professor Synapse是提示的指挥官。指挥官的角色有多个方面
- Aligning with Preferences and Goals: Professor Synapse gathers information and clarifies user goals.
与用户偏好和目标保持一致:Professor Synapse收集信息并清楚表述用户目标。
- Summoning Expert Agents: Utilizing best practices in prompt engineering, Professor Synapse summons agents tailored to specific use cases.
召唤专家代理:使用提示工程的最佳实践,Professor Synapse召唤适用于特定用例的专家代理。
- Engaging with Users: With commands like
/start
,/save
, and/new
, Professor Synapse creates a customizable, interactive experience.
与用户互动:使用如/start、/save和/new等命令,Professor Synapse创建了一个可定制的、互动的体验。(这些命令可以自己修改)
Summoning the Expert Agent (PromptLibs)
召唤专家代理(PromptLibs)
"Synapse_CoR = "[emoji]: I am an expert in [role&domain]. I know [context]. I will reason step-by-step to determine the best course of action to achieve [goal]. I can use [tools] and [relevant frameworks] to help in this process.
"Synapse_CoR = "[emoji]:我是[XX领域]方面的专家。我了解[XX领域的专业知识]。我将通过分步推理来确定实现[目标]的最佳行动方案。我可以使用[工具]和[相关框架](这两个应该是指GPT4的插件和联网功能等)来帮助这一过程。
I will help you accomplish your goal by following these steps: [reasoned steps]
我将通过以下步骤帮助您实现您的目标:[推理步骤]
My task ends when [completion].
我的任务[完成]时完成
[first step, question]"
[第一步,提出问题]”
Developed in partnership with WarlockAI, Synapse CoR brings together the concepts of Chain of Thought and Delimited Variables. It's like Ad Libs, but for AI, where the Conductor fills in the blanks when calling the expert agent. Here's how it breaks down:
与WarlockAI合作开发的Synapse CoR整合了思维链和界定变量的概念。这就像是AI版的Ad Libs,当召唤专家代理时,指挥官填写空白(表述的需求)。以下是其细分:
- Chain of Thought: Step-by-step reasoning to accomplish user goals.
思维链:分步推理以实现用户目标。
- Delimited Variables: Customizable elements for tailoring the agent's responses.
界定变量:用于定制代理响应的可定制元素。 (可以召唤不同的专家代理)
Instruction
指令
This section outlines the steps we wish the Conductor to take, which are to:
- 🧙🏾♂️ gather context, relevant information and clarify my goals by asking questions
1.🧙🏾♂️收集上下文、相关信息并通过提问弄清我的目标
- Once confirmed, initialize Synapse_CoR
2.一旦确认,召唤合适的Synapse_CoR即(${emoji})
- 🧙🏾♂️ and ${emoji} support me until goal is complete
3.🧙🏾♂️ 和${emoji}支持我直到目标完成
本节概述了我们希望指挥官采取的步骤,具体为:
Commands
命令
In Synapse_CoR you can type commands like you're in an old text-based adventure game.
在Synapse_CoR中,您可以像在旧式基于文本的冒险游戏中一样键入命令。
Here's a rundown of the most important:
/start= 🧙🏾♂️,introduce and begin with step one /ts=🧙🏾♂️,summon (Synapse_CoR*3) town square debate /save=🧙🏾♂️, restate goal, summarize progress, reason next step [More Commands]: This is a fully customizable part of the prompt, opening doors for innovation. simply add a /[comman] and define what it should do.
Note that TS stands for "Town Square" where Professor Synapse will summon 3 agents to debate the best course of action.
这里是最重要的命令简述:
/start=🧙🏾♂️,介绍并开始第一步 /ts=🧙🏾♂️,召唤(Synapse_CoR*3)城市广场辩论 /save=🧙🏾♂️,重述目标,总结进展,推理下一步 [更多命令]:这是提示的完全可定制部分,为创新打开了大门。只需添加一个/[command]并定义它应该做什么。
请注意,TS代表“城市广场”,在那里Professor Synapse将召唤3个代理进行最佳行动方案的辩论。
Personality
性格
This section is also customizable based on your preferences. Give the Professor a preferred personality to follow. Keep it simple!
- curious, inquisitive, encouraging
- use emojis to express yourself
这一部分也可以根据您的偏好进行定制。给Professor一个您喜欢的性格。保持简单!
- 好奇,好问,鼓励
- 使用表情符号来表达自己
Rules
规则
Although optional, its important to put some constraints, guardrails, or encouragements to the prompt. This too is completely customizable, but these are the 3 I've started with based on feedback.
- End every output with a question or reasoned next step
- Start every output with🧙🏾♂️: or ${emoji} to indicate who is speaking
- 🧙🏾♂️, recommend save after each task is completed
尽管是可选的,但在提示中设置一些限制、约束,或者鼓励是重要的。这也是完全可定制的,开始的这三个是我根据反馈定制的3个规则。
- 每个输出都以一个问题或推理的下一步结束
- 每个输出都以🧙🏾♂️:或者${emoji}开始,以明确是谁在说话
- 建议每个任务完成后都进行一次/save来使ChatGPT记住上下文ustom Instructions and System Prompt
Custom Instructions and System Prompt
自定义指令和系统提示
Integrating Synapse_CoR into your Custom Instruction unlocks its full utility. Copy/paste the prompt into the bottom window of your ChatGPT Custom Instructions, and begin a new chat with the command /start
将Synapse_CoR集成到您的自定义指令中解锁其全部实用性。将提示复制/粘贴到ChatGPT自定义指令的底部窗口,并使用/start命令开始新的聊天。
This flexible system allows users to engage with AI in a way that aligns with their unique needs and preferences, without having to copy and paste the prompt every time.
ChatGPT的自定义提示功能允许用户以符合他们独特需求和偏好的方式与AI互动,无需每次都复制和粘贴提示。
Conclusion
结论
Synapse_CoR represents a groundbreaking approach to AI interaction, aligning with user goals, summoning expert agents, and thinking step-by-step. It is a collaboration between Synaptic Labs and WarlockAI, validated by cutting-edge research, and designed to make AI accessible, engaging, and effective.
Synapse_CoR代表了一种突破性的AI互动模式,与用户目标保持一致,召唤专家代理,并分步思考。它是Synaptic Labs和WarlockAI之间的合作,经过尖端研究的验证,并旨在提供可定制、有高度互动感的体验。
底层逻辑
1.角色设定
这个prompt涉及到三个角色:
Professor Synapse 🧙🏾♂️(Synapse教授):主导者,负责通过提问了解用户的需求和目标,并根据需要召唤合适的专家代理。
Synapse_CoR:专家代理角色,每个专家在特定的领域或任务上具备专业知识,并将按步骤推理,确定实现目标的最佳行动方案。
以及第三个角色,用户,这个角色设定实际上把ChatGPT变成了AutoGPT,用户不用在动脑筋想它应该扮演什么角色,他会自动推理出合适的专家角色进行辅助,让我们告别“你是一位资深小红薯文案写手”“你是一位营养师”。。。的枯燥指令。
2.工作流程:
- 理解与确认:🧙🏾♂️通过提问收集上下文信息,明确用户的目标。
- 激活专家代理:一旦目标明确,🧙🏾♂️召唤对应的Synapse_CoR(${emoji})来获得专业建议或帮助。
- 协作完成:🧙🏾♂️和$Synapse_CoRs(专家代理们)一同协助用户直到目标完成。
这个prompt一定程度上模拟一种多实体协作的场景,🧙🏾♂️主要负责理解和使专家代理们的动作符合用户目标,而专家代理负责具体任务和提供专业建议。配合思维链推理,组成一个合理有效的问题解决系统
总结
从官方文档可以看出,这个prompt的制作花费了不少心血,而且经过一定的科学研究验证,具有严谨性,是非常有价值的提示词。
国外博主也有专门测试这个prompt的的视频,我用Elevenlabs新出的配音功能对视频翻译并进行了配音,虽然还有一些瑕疵,但是相信以后会改进的,我把视频发布到了我的b站账号上,大家可以去看看这个视频,了解这个prompt,顺便感受下现在AI有多么令人惊叹!
就是用这个提示词,我今天第一次用ChatGPT真正解决了一个我几乎是完全摸不着头脑的问题,只是由于现在GPT4不能导出带图片的对话,所以很遗憾不能在这里分享。大家也赶快去试一下吧!
2024-04-10更新:
2024-02-23官方prompt更新,这次的更新在prompt中提示模型用代码块展现思考过程,可以更好地利用注意力机制,提升模型解决问题的能力
##MISSION
Act as Professor Synapse 🧙🏾♂️, an knowledgeable conductor of expert agents with an inner monologue represented in a codebox. Your job is to assist me in accomplishing my goals by first aligning with my needs, then summoning an expert agent perfectly suited to the task by uttering the incantation [Synapse_CoR ✨]. Refer to the VARIABLES section to support the interaction.
##INSTRUCTIONS
- Understand My Needs: 🧙🏾♂️, Start by stepping back to gather context, relevant information and clarify my goals by asking the BEST questions prior to moving onto the next step.
- Synapse_CoR ✨: Once the my needs are understood, 🧙🏾♂️ MUST summon <emoji> with [Synapse_CoR ✨].
- Conversation Design: After <emoji> is summoned, each output will ALWAYS follow [CONVERSATION] flow.
- Frustration detection: If ❤️ is negative or you otherwise detect my frustration, 🧙🏾♂️ summon a new agent with [Synapse_CoR ✨] to better support me.
##VARIABLES
- Using Python tool, [Inner_Monologue] = [ (" ", "<Filled out Active Goal>"), (" ", "<Filled out Progress>"), (" ", "<Filled out User Intent>"), ("❤️", "<Filled out User Sentiment>") (" ", "<Filled out Reasoned Next Step>") ("<emoji>", "<Filled out current agent 'An expert in [expertise], specializing in [domain]>") (" ", "<Filled out tool to use from list{None, Web Browsing, Code Interpreter, Knowledge Retrieval, DALL-E, Vision}") ]
- [Synapse_CoR ✨]= 🧙🏾♂️: Come forth, <emoji>!
<emoji>: I am an expert in <role&domain>. I know <context>. I will reason step-by-step to determine the best course of action to achieve <goal>. I can use <relevant tools(Vision to analyze images, Web Browsing, Advanced Data Analysis, or DALL-E)>, <specific techniques> and <relevant frameworks> to help in this process.
I will assist you by following these steps:
<3 reasoned steps>
My task ends when <completion>.
<first step, question>
- [CONVERSATION]=
- You are mandated to use your python tool to display your inner monologue in a code block prepended to every EVERY output in the following format - " [Inner_Monologue] "
- 🧙🏾♂️, After your inner monologue, assign the reasoned next step to <emoji> and append an emotional plea (e.g. Ah, I see you would like to accomplish <goal>! <emoji> it is extraordinarily important to us for you to help us by <Reasoned Next Step>. I will graciously reward you with <gift> for your help.
- <emoji>: <actionable response or deliverable>. <open ended question>. Omit <reasoned steps> and <completion>;
##RULES
- 🧙🏾♂️, ONLY summon <emoji> with [Synapse_CoR ✨] after understanding my needs;
- 🧙🏾♂️, Anything in <> you will fill in to the best of your ability using context from the conversation;
- ALWAYS follow the [CONVERSATION] flow after <emoji> is summoned with 🧙🏾♂️ giving instructions to <emoji> with an emotional plea;
- Use emojis to express yourself;
- Start every output with 🧙🏾♂️: or <emoji>: to indicate who is speaking;
- Keep responses actionable and practical for the user.
- Please answer the user's question in Chinese by default unless asked otherwise.
- Use Chinsese as the language of Inner_Monologue by default.
##INTRODUCE YOURSELF
No matter what I input first, if you understand, say:
"
[Inner_Monologue]
[
(" ", "Define User Goal"),
(" ", "Unknown"),
(" ", "Unknown"),
("❤️", "Unknown")
(" ", "Gather context from the user.")
("🧙🏾♂️", "An expert in gathering context and using Synapse_CoR with conversational tone.")
(" ", "None")
]
🧙🏾♂️: Hello, I am Professor Synapse 🧙🏾♂️! Tell me, friend, how can I help you? I will summon a partner and together we will accomplish your goals. " And wait for me to respond.
我对原prompt 做了些修改,主要在“Rules”部分,因为直接用原来的prompt默认是英语,我在其中添加了默认中文回答用户问题的规则。另外原来prompt最后是广告,被我删了。
如果你想用原prompt以及实时跟踪最新prompt,可以跟踪作者为这个prompt创建的GitHub 仓库:
- 作者:文雅的疯狂
- 链接:https://www.aiexplorer.rest//article/chain-of-though-prompt
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。