Quiz 7 Question 3 of 20

A data extraction pipeline uses few-shot prompting with 8 examples to extract structured fields from insurance claim forms. The system performs well on training-distribution claims (85% accuracy) but drops to 52% on claims from a newly onboarded insurer with different form layouts. The team's options are: (A) add 8 more examples from the new insurer's forms, (B) restructure the prompt to be layout-agnostic using field descriptions instead of position-based examples, (C) fine-tune a Claude model on the new insurer's data. Which approach is architecturally correct for a production system serving multiple insurers with heterogeneous form layouts?

Select an answer to reveal the explanation.

Motivation