서우 AgentOffice
← 라이브러리
ai-research

Outlines

원문: outlines

Guarantee valid JSON/XML/code structure during generation, use Pydantic models for type-safe outputs, support local models (Transformers, vLLM), and maximize inference speed with Outlines - dottxt.ai's structured generation library

무엇을 하나요

Outlines: Structured Text Generation When to Use This Skill Use Outlines when you need to: Guarantee valid JSON/XML/code structure during generation Use Pydantic models for type safe outputs Support local models (Transformers, llama.cpp, vLLM) Maximize inference speed with zero overhead structured generation Generate against JSON schemas automatically Control token sampling at the grammar level GitHub Stars : 8,000+ | From : dottxt.ai (formerly .txt) Installation Quick Start Basic Example: Classification With Pydantic Models Core Concepts 1. Constrained Token Sampling Outlines uses Finite State Machines (FSM) to constrain token generation at the logit level. How it works: 1. Convert schema (

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.