提示链Prompt Chaining
Prompt Chaining
解决什么问题What problem it solves
把一件事拆成固定的几步,每步的输出喂给下一步。Split a job into fixed steps, feeding each output into the next.
这是什么What it is
Anthropic 的定义:把任务分解成一系列步骤,上一步的输出作为下一步的输入。
官方指出它以延迟换准确性:准确性比延迟重要时更适用。
Anthropic's definition: decompose a task into a sequence of steps, passing each output to the next.
Each step is testable on its own; the cost is a longer chain and more latency.
为什么需要知道Why it matters
比「一句话让模型做完所有事」更可控。很多 Agent 其实就是提示链。More controllable than asking for everything at once. Many "agents" are really chains.
别名Chinese aliases
链式提示 · 步骤链
现在能做什么What you can do now
去 Agent 图谱:看有哪些装得上的客户端、运行时与工具Agent atlas: which clients, runtimes and tools you can install ↗
回到名词地图看第3站的其他 36 个词 →Back to the map: the other 36 terms in station 3 →
出处Sources
- Anthropic《Building effective agents》Anthropic, Building effective agents ↗