Generating Structured Outputs from LLMs
An overview of popular techniques to confine LLMs’ output to a predefined schema
15 min
LLM
Structured Output
RegEx
DFA
Today, the most common interface for interacting with LLMs is through the classic chat UI found in ChatGPT, Gemini, or DeepSeek. The interface is quite simple, where the…
Jul 26, 2025