dotjson

dotjson is a high-performance shared library for JSON Schema-based structured text generation. It provides efficient algorithms to constrain large language models to generate properly structured JSON objects that conform to a predefined JSON Schema.

Key Features

  • High performance implementation
  • Structured outputs using JSON Schema
  • Greater JSON Schema support than OpenAI
  • Simple logit masking API in C++ and Python

Need structured generation?

Email us at [email protected] or schedule a demo call to learn more about dotjson.

Support