Technique Aktualisiert 2026-04
Structured Output
Definition
Structured Output forces an LLM to respond in a predefined structured format (JSON, XML, table) instead of free text.
Siehe auch im Glossar
L
LLM (Large Language Model)
An LLM is an AI model trained on billions of texts, capable of understanding and generating human language.
A
AI API
An AI API allows developers to integrate artificial intelligence capabilities into their applications.
P
Prompt Engineering
Prompt engineering is the art of crafting precise instructions to get the best results from an AI model.
F
Function Calling
Function Calling enables an LLM to call external functions or APIs in a structured way to execute concrete actions.
Tools, die structured output verwenden
Häufig gestellte Fragen
Why force structured format?
To integrate AI responses into code. Well-formed JSON can be parsed automatically, unlike free text which requires approximate parsing.
Which LLMs support Structured Output?
GPT-4o (native JSON mode), Claude (XML and JSON), Gemini and Mistral. Most modern APIs support guaranteed JSON mode.