Quiz 4 Question 11 of 20

A data extraction pipeline uses Claude to convert unstructured survey responses into a structured JSON schema. The team adds chain-of-thought prompting to improve accuracy. They observe that adding 'Think step by step before responding' increases accuracy from 87% to 94% but also increases average response token length from 200 to 800 tokens, quadrupling output costs. What architectural pattern captures most of the accuracy gain while minimizing token cost?

Select an answer to reveal the explanation.

Motivation