Outlines
Open source.txt (dottxt) · LLM & RAG frameworks · Since 2023
Guaranteed structured generation with regex, JSON Schema and grammars.
Overview
Constrains token sampling so outputs always match a JSON schema, regex or context-free grammar; works with transformers, vLLM, llama.cpp and hosted APIs.
- JSON Schema / Pydantic
- Regex & CFG constraints
- Many backends
Technology