Skip to content

Glossary: Running Open Models Locally

JSON mode

Also written: json_object, format="json"

A setting that guarantees the output is valid JSON but not that it has any particular keys or shape. A schema is the stronger option.

Where the book teaches it

Related terms

JSON schemaConstrained decoding