Repository navigation
First release of schema-constrained decoding via compiled automata.
Highlights
- JSON Schema to regex to DFA compilation and per-step token masking
- Differential testing against the jsonschema reference validator: 240 of 240 outputs valid, agreement on 2,008 cases
- Correct JSON escaping of keys and enum values
Install: pip install the attached wheel.