Navigate to WaytoAGI Wiki →
Home/Question List/Question Detail

CLAUDE

Answer

以下是关于 Claude 的相关内容: 1. 一位 17 岁的高中生涂津豪写了个名为 Thinking Claude 的神级 Prompt,将 o1 级别的思维链复刻到了 Claude3.5 里,使其智能程度、成功率、像人的程度大幅提升。强化后的 Claude3.5 能完成诸如制造 flappy bird、德州扑克等任务。您可以在作者的 Github 上查看完整的 Prompt,地址是:https://github.com/richards199999/Thinking-Claude/tree/main 。 2. 预先填充 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)助手(预先填充)|{ | 在这个例子中,通过以 Assistant 消息开头,限制了 Claude 的输出为所请求的 JSON 模式的其余部分。 3. 与 Claude 互动时,提供清晰直接的指示对于实现最佳结果至关重要。把 Claude 想象成一个聪明但没有上下文的新员工,您解释得越详细、以直接的方式表达想要什么,Claude 的回应就会越好、更准确。
Content generated by AI large model, please carefully verify (powered by aily)

References

17岁高中生写了个神级Prompt,直接把Claude强化成了满血o1。

这两天,我被这个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,涂津豪。同时,他也是之前阿里巴巴全球数学竞赛AI赛道的全球第一。

9.Prefill Claude's response 预先填写 Claude 的回答

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模式的其余部分。

3.Be clear & direct 言之有物,直截了当

When interacting with Claude,providing clear and direct instructions is essential for achieving the best results.Think of Claude like a smart but new employee who has no context on what to do aside from what you explicitly tell them.Just as when you instruct a human for the first time on a task,the more you explain exactly what you want in a straightforward manner,the better and more accurate Claude's response will be.与克劳德互动时,提供清晰直接的指示对于实现最佳结果至关重要。把克劳德想象成一个聪明但是没有上下文的新员工,除了你明确告诉他们的内容外,他们不知道该做什么。就像第一次指导人类执行任务时一样,你解释得越详细,以直接的方式表达你想要什么,克劳德的回应就会越好、更准确。