前往 WaytoAGI 飞书知识库 · 1 亿+ 次访问的开源 AI 知识库 →
通往 AGI 之路 WaytoAGI

社区问答存档

CLAUDE

以下是关于 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 的回应就会越好、更准确。