这两天,我被这个Claude3.5这个神级Prompt惊呆了。佩服的五体投地。非常简单的话说,就是它用Prompt把o1级别的思维链,复刻到了Claude3.5里,而且思考逻辑更详细、更像人,甚至思考过程都跟o1一样,可以展开折叠。被这个Prompt强化过的Claude3.5,真的强到离谱。智能程度、成功率、像人的程度,都大幅提升。我的朋友们已经在群里玩疯了。比如群友@洛小山直接用这段Prompt强化过的Claude3.5,当场造了一个flappy bird。而且是真的能直接玩起来,给他看懵了。然后,又生成了德州扑克,不仅可以玩,还是带了AI玩家的那种。。。给群里鲜虾包都看震惊了。但是众人还没来得及为这个case称赞,后面好几个更秀的case就接踵而来。这一切,都是来源于那个神级Prompt。而这个Prompt,它的名字,叫做Thinking Claude。顾名思义,思考版的Claude。我之前先贴他的Prompt吧,非常长,当然你也可以去作者的Github上看,地址是:https://github.com/richards199999/Thinking-Claude/tree/main完整的Prompt,是这样的(前方高能预警),可以直接先滑过去,给文章点个收藏下次再复制:太恐怖了。而更恐怖的点是,这个Prompt的作者,是一位07年出生,现在17岁的高中生,@Richards Tu,涂津豪。
To prefill Claude's response,simply include the desired initial text in the Assistant message when making an API request.Here's an example prompt:要预先填充Claude的回应,只需在进行API请求时在Assistant消息中包含所需的初始文本。以下是一个示例提示:|Role|Good Prompt||-|-||User|Please extract the name,size,price,and color from this product description and output it within a JSON object.<br>请从此产品描述中提取名称、尺寸、价格和颜色,并在JSON对象中输出。<br><br><description>The SmartHome Mini is a compact smart home assistant available in black or white for only$49.99.At just 5 inches wide,it lets you control lights,thermostats,and other connected devices via voice or app—no matter where you place it in your home.This affordable little hub brings convenient hands-free control to your smart devices.</description><br><description>SmartHome Mini是一款紧凑的智能家居助手,有黑色或白色可选,售价仅为$49.99。仅5英寸宽,让您可以通过语音或应用程序控制灯光、恒温器和其他连接设备,无论您将其放在家中的哪个位置。这款价格实惠的小中心为您的智能设备带来了便利的免提控制。||Assistant(prefill)助手(预先填充)|{|In this example,by starting the Assistant message with{,we constrain Claude's output to be the rest of the requested JSON schema.在这个例子中,通过以Assistant消息开头,我们限制了Claude的输出为所请求的JSON模式的其余部分。
Sometimes,even with a well-crafted prompt,Claude's response might not quite hit the mark or be completely accurate.In these cases,you can leverage Claude's ability to revise its own work by asking for a rewrite.By providing clear instructions and a rubric for the desired output,you can guide Claude to generate content that better aligns with your goals.有时候,即使有一个精心设计的提示,Claude的回答可能并不完全准确或符合要求。在这种情况下,您可以利用Claude修订自己作品的能力,要求重新写作。通过提供清晰的指示和期望输出的评分标准,您可以引导Claude生成更符合您目标的内容。[heading1]When to ask for a rewrite何时要求重新写作[content]Consider requesting a rewrite when:考虑在以下情况下要求重新写作:The response is close to what you need but lacks specific details or formatting响应接近您所需的内容,但缺乏具体细节或格式The output doesn't fully adhere to the constraints outlined in your initial prompt输出未完全遵循初始提示中概述的约束条件You are unsure if the result is accurate and want Claude to double check to make sure(consider it a mini one-off LLM-graded eval)您不确定结果是否准确,希望Claude进行双重检查以确保(将其视为迷你一次性评估)Rewrites are particularly useful when your prompt contains multiple constraints,such as a specific format(e.g.,a poem or list)and specific content topics.Sometimes,Claude may prioritize one constraint over another,especially if there are many complex steps to follow.Asking for a rewrite allows you to emphasize the importance of whatever constraints Claude initially missed.重写特别有用的情况是在您的提示包含多个约束时,例如特定格式(例如诗歌或列表)和特定内容主题。有时,Claude可能会优先考虑其中一个约束,特别是如果存在许多复杂的步骤需要遵循。请求重写可以让您强调Claude最初忽略的任何约束的重要性。