Outlines
Outlines is a Python library for developers who need structured LLM outputs, but correct formatting alone does not make the answers accurate. Its README describes generation constrained by Python types, Pydantic models, JSON schemas, regular expressions and grammars, with integrations for local models, model servers and hosted APIs.
