Repository navigation
Releases
Releases · adeoluo/constrained-generation-library
v0.1.0
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.