outlines

Community

Structured generation with FSM-constrained sampling

Authorovachiever
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Outlines guarantees valid JSON/XML/code outputs by using FSM-constrained token sampling from local models, with optional JSON schema and Pydantic integration for type-safe results.

Core Features & Use Cases

  • FSM-based token filtering for guaranteed validity
  • JSON schema and Pydantic-backed outputs
  • Local model backends (Transformers/llama.cpp/vLLM)
  • Grammar-based generation with fast-forwarding

Quick Start

Generate a JSON payload matching a Pydantic model from a prompt.

Dependency Matrix

Required Modules

outlinestransformersvllmpydantic

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: outlines
Download link: https://github.com/ovachiever/droid-tings/archive/main.zip#outlines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository