JSON Mode (JSON)
Quick definition
A generation setting that constrains model output to valid JSON syntax.
A generation setting that constrains model output to valid JSON syntax.
Example: An extraction assistant returns a parseable object instead of free text.
Where it is useful: AI assistants, content generation, prompt workflows, and language-model applications.
Examples
- An extraction assistant returns a parseable object instead of free text.
Use cases
- AI assistants, content generation, prompt workflows, and language-model applications.
Frequently asked questions
What is JSON Mode?
A generation setting that constrains model output to valid JSON syntax.
Can you give an example of JSON Mode?
An extraction assistant returns a parseable object instead of free text.