Outlines

Guaranteed structured generation with regex, JSON Schema and grammars.

Constrains token sampling so outputs always match a JSON schema, regex or context-free grammar; works with transformers, vLLM, llama.cpp and hosted APIs.

Vendor
.txt (dottxt)
Category
LLM & RAG frameworks
Pricing
Open source
Open source
Yes
License
Apache 2.0
Platforms
Python
Launched
2023
Website
dottxt-ai.github.io/outlines

Features

Best for

More llm & rag frameworks

Links