You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if generating a maximum number of elements in an array is possible with xgrammar.
If so, how can I use it. Any help would be much appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
Hi @arunpatala, thanks for the question! The repetition range {min, max} is now supported by regex and ebnf, so you can use them to constraint the generation format. Regarding json schema, we are still enhancing it. We expect it be completed recently.
Hi,
Thanks for this awesome work.
I was wondering if generating a maximum number of elements in an array is possible with xgrammar.
If so, how can I use it. Any help would be much appreciated.
Thanks
The text was updated successfully, but these errors were encountered: