lorax
lorax copied to clipboard
Support constrained generation of valid Python types
For example, constraining the model to output a boolean, rather than a boolean embedded inside a JSON object.
Should be possible with a small modification to the existing Outlines integration.