Replies: 1 comment
|
My understanding is that these restrictions mostly come from constrained decoding, not from JSON Schema itself. The decoder wants a fairly closed grammar it can enforce token-by-token. That is why some schema features are awkward:
Workarounds that usually help:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to have some more insight on some restrictions that the new constrained decoding API has for JSON Schemas. More specifically, why are the following disallowed:
None seem to be limitations with CFG design, so I guess they are motivated by issues with the model. It would be super nice to have them possible to enable (maybe some warnings, disabled by default, idk).
Thanks
All reactions