Outlines icon

Outlines

github.com/dottxt-ai/outlines

Library for structured generation that constrains LLM outputs to specific formats (JSON schema, regex, types).

Details

Outlines is a Python library for structured generation that constrains LLM outputs to specific formats (JSON schema, regex patterns, types) using techniques like guided decoding. Outlines is widely used as foundational infrastructure for reliable structured outputs in LLM applications.

Tags

Popular tags