Output Format
Specifying the exact structure, length, or schema the model should use when responding.
Full Definition
Output format instructions tell the model how to structure its response — as JSON, markdown, a numbered list, a table, a specific word count, or any other schema. Explicit format constraints reduce post-processing effort and prevent the model from adopting a default style that doesn't fit the downstream use. For structured data extraction, combining output format instructions with JSON schema definitions or XML tags gives highly reliable parsing. Format instructions placed at the end of a prompt, just before the model begins generating, tend to be followed more reliably than those buried in the middle.
Examples
'Return your answer as a JSON object with keys: title (string), summary (string, max 50 words), tags (array of strings).'
'Write a 4-row markdown table with columns: Country | Capital | Population | Currency.'
Apply this in your prompts
PromptITIN automatically uses techniques like Output Format to build better prompts for you.
Related Terms
Structured Output
Constraining model generation to produce valid, machine-parseable formats like J…
View →Instruction Prompting
Directly telling the model what to do using clear imperative commands.…
View →Prompt Template
A reusable prompt structure with placeholders that are filled in at runtime.…
View →