Structured Output
Structured output is when a language model returns data in a predictable, machine-readable format—JSON, XML, typed objects—rather than free-form prose. This is what makes LLMs usable as components in software systems rather than just conversational interfaces. If you need the model to extract a name, date, and dollar amount from an invoice, you need those values in fields your code can parse, not embedded in a sentence. Most model providers now support constrained generation—forcing the model's output to conform to a JSON schema—which eliminates the parsing failures that plagued early integrations. OpenAI's structured output mode, Anthropic's tool use, and open-source libraries like Instructor all solve this problem. Structured output is the bridge between AI as a chat feature and AI as a system component, and getting it right is prerequisite to any serious automation.
Related terms:
Generative Engine Optimization
Generative engine optimization (GEO) is the practice of structuring content so AI systems—such as ChatGPT, Perplexity, Google AI Overviews, and Bing...
LLM (Large Language Model)
A large language model is a neural network with billions of parameters trained on massive text corpora to predict the next word in a sequence, powering tasks...
Context Window
A context window is the maximum amount of text a language model can process in a single call—input and output combined—measured in tokens.