Kvíz spojený s průvodcem · Střední úroveň

Kvíz rychlého řetězení

Zkontrolujte, zda rozumíte tomu, jak rychlé řetězce předávají výstupy dopředu, jak brány zachycují chyby a jak se řetězce liší od autonomních agentů.

Související vodicí cestyRychlé řetězení
Otázka 1 z 8

What is the defining feature of prompt chaining?

Náhled každé otázky8 otázky

Odpovědi a vysvětlení se zobrazují, jak budete v kvízu.

  1. What is the defining feature of prompt chaining?
    • 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. How does a prompt chain differ from an autonomous agent?
    • 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. In Anthropic's "Building Effective Agents" essay, what are "gates" in a prompt chain?
    • Programmatic checks between steps
    • Paid access tiers for the API
    • Security firewalls around the model
    • Parts of the model's neural network
  4. What trade-off does prompt chaining typically make?
    • Lower accuracy for lower cost
    • No trade-off at all
    • Less debuggability for more speed
    • Extra latency for higher accuracy
  5. If each of four chained steps is 95 percent reliable and failures are independent, roughly how reliable is the whole chain?
    • 95 percent
    • About 81 percent
    • Asi 50 procent
    • 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