Open msharp9 opened 10 months ago
This is a limitation of the pyformlang library we are using right now to convert from regex patterns into guidance grammars. We don't plan to keep this dependency in the long run, so I will leave this issue open to flag that {n}
support should be in the next iteration :)
Hi! I added {m} and {n,m} in the latest version of Pyformlang. Do not hesitate to open issues directly on Pyformlang in the future :)
The bug Regex doesn't seem to support basic regex syntax. {n}
To Reproduce Give a full working code snippet that can be pasted into a notebook cell or python file. Make sure to include the LLM load step so we know which model you are using.
System info (please complete the following information):
guidance.__version__
): 0.1.5