structured output
Structured output is a feature or technique that makes a language model return responses in a predefined format, such as JSON.
Structured output is a feature or technique that has a language model respond in a fixed format and field layout, such as JSON, instead of free-form text. Because the response follows the format, programs can read and process its contents reliably.
In AI agents, structured output lets surrounding code interpret the model's response as function arguments and run real program functions, which ties it closely to function calling. Many language model APIs offer ways to specify the output format.
This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.
Articles covering this entry
…, allowing an extension to respond to agent events, inspect scoped session information, work with structured outputs, and alter parts of the terminal interface.