← all repositories

dottxt-ai/outlines

Python library for constrained structured generation from large language models, ensuring reliable JSON, regex, and CFG-based outputs.

outlines
Velocity · 7d
+12
★ / day
Trend
steady
star history

Outlines provides developers with tools to force LLMs to produce structured outputs by constraining generation with JSON schemas, regular expressions, and context-free grammars. It integrates with popular inference backends and is used by vLLM, HuggingFace, and NVIDIA. The library supports dynamic prompting and is designed for production use cases requiring reliable structured data extraction from generative models.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.