Improving Structured Outputs from LLMs: A Two-Step Pattern

LLMs can reason about complex input. They can also follow formatting instructions. But when asked to do both at once, they often fail. This post explains a two-step method that improves reliability.