Prompt chaining reimagined with type inference

Using bidirectional type inference to infer JSON schemas for prompts with structured outputs