passdrill
AI & LLM Engineering · Prompt Engineering · Card 023/024 easy

According to Anthropic's current documentation on chaining complex prompts for Claude, what is described as the most common prompt-chaining pattern, and how is it structured across separate API calls?

  1. Load balancing: send the exact same prompt to several different Claude API keys simultaneously and return whichever response arrives first, discarding the rest
  2. Weight merging: average the model weights used to generate two separate draft responses into a single hybrid model before producing the final answer
  3. Cache warming: repeatedly resend an unchanged prompt purely to keep it available in the prompt cache, with no reviewing or refining step involved
  4. Self-correction: generate a draft response in one API call, have Claude review that draft against stated criteria in a second call, then have Claude refine the draft based on that review in a third call, so each step is a separate call that can be logged, evaluated, or branched on
Next card → Shuffle