outlines

FrameworksPythonApache-2.0★ 16.0k
GitHub ↗

Outlines is a Python library for structured generation: pass a Pydantic model, regex, or JSON schema and it constrains LLM output during generation across

Framework
Install
pip install outlines

Other tools that do the same work