引导式测验 · 中等 等级

提示链接测验

检查您对提示链如何向前传递输出、门如何捕获错误以及链与自治代理有何不同的理解。

相关引导路径提示链接
问题 1 的 8

提示链的定义特征是什么?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 提示链的定义特征是什么?
    • One very long prompt that contains every instruction
    • A fixed sequence of prompts where each step's output feeds the next
    • A model that picks its own tools at run time
    • Sending the same prompt to many models at once
  2. 提示链与自主代理有何不同?
    • Chains cannot use JSON
    • Agents never call tools
    • In a chain the developer hard-codes the steps, while an agent decides its next step at run time
    • Chains always use more expensive models
  3. 在Anthropic的《构建有效代理》文章中,提示链中的“门”是什么?
    • Programmatic checks between steps
    • Paid access tiers for the API
    • Security firewalls around the model
    • Parts of the model's neural network
  4. 提示链通常会做出什么权衡?
    • Lower accuracy for lower cost
    • No trade-off at all
    • Less debuggability for more speed
    • Extra latency for higher accuracy
  5. 如果四个链式步骤中的每一个的可靠性都是 95%,并且故障是独立的,那么整个链的可靠性大致有多高?
    • 95 percent
    • About 81 percent
    • 约 50%
    • 99 percent
  6. Why should each step pass forward only the information the next step needs?
    • To avoid bringing back the context bloat chaining was meant to reduce
    • Because APIs reject long inputs
    • So the model forgets its instructions
    • To make logging impossible
  7. In Prompt Chaining: which statement does the guide describe as a misconception?
    • Intermediate outputs should be logged
    • Independent steps can run in parallel
    • You need a special framework to build a prompt chain
    • Structured output makes validation easier
  8. How can prompt chaining sometimes lower costs instead of raising them?
    • It removes the need for output tokens
    • Providers give chains free credits
    • It avoids sending any input tokens
    • Easy steps can run on smaller, cheaper models