outlines-core
outlines-core copied to clipboard
JSON
Currently regex converted from json schema only supports output json string with fixed property order, is there any way to let LLM to choose which property to output in properties not finished.
We could update outlines/fsm/json_schema.py to allow arbitrary order, however this would increase the complexity (and compilation time) of the FSM exponentially. Once we have CFG working this will be viable. Open to a PR with optional arbitrary ordering though.