Quiz collegato alla guida · Medio Livello

Quiz sul concatenamento rapido

Verifica la tua comprensione di come le catene di prompt trasmettono gli output, di come le porte rilevano gli errori e di come le catene differiscono dagli agenti autonomi.

Percorsi guida correlatiConcatenamento rapido
Domanda 1 di 8

Qual è la caratteristica distintiva del concatenamento di prompt?

Anteprima di ogni domanda8 domande

Le risposte e le spiegazioni vengono visualizzate mentre rispondi al quiz.

  1. Qual è la caratteristica distintiva del concatenamento di prompt?
    • 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. In cosa differisce una catena di prompt da un agente autonomo?
    • 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. Nel saggio "Building Effective Agents" di Anthropic, cosa sono le "porte" in una catena di prompt?
    • Programmatic checks between steps
    • Paid access tiers for the API
    • Security firewalls around the model
    • Parts of the model's neural network
  4. Quale compromesso comporta in genere il concatenamento di prompt?
    • Lower accuracy for lower cost
    • No trade-off at all
    • Less debuggability for more speed
    • Extra latency for higher accuracy
  5. Se ciascuno dei quattro passaggi concatenati è affidabile al 95% e i guasti sono indipendenti, quanto è affidabile all’incirca l’intera catena?
    • 95 percent
    • About 81 percent
    • Circa il 50 per cento
    • 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