eth-sri / lmql

A language for constraint-guided and efficient LLM programming.
https://lmql.ai
Apache License 2.0
3.7k stars 200 forks source link

Added verbose in ops.follow to print #280

Closed zabirauf closed 11 months ago

zabirauf commented 12 months ago

There is currently a rouge print that is not behind verbose in ops.py so that causing a lot printing to occur when using REGEX in LMQL. Added getting verbose from kwargs and printing only if its True

lbeurerkellner commented 11 months ago

Just merged this with a slight adaptation via #288. Thanks a lot.