dottxt-ai/outlines
原文摘要
Structured Outputs 🗒️ Structured outputs for LLMs 🗒️ Made with ❤👷️ by the team at .txt Trusted by NVIDIA, Cohere, HuggingFace, vLLM, etc. The .txt API is currently in early access. Request access here → 🚀 Building the future of structured generation We're working with select partners to develop new interfaces to structured generation. Need XML, FHIR, custom schemas or grammars? Let's talk. Audit your schema: share one schema, we show you what breaks under generation, the constraints that fix it, and compliance rates before and after. Sign up here . Table of Contents Why Outlines? Quickstart Real-World Examples 🙋♂️ Customer Support Triage 📦 E-commerce Product Categorization 📊 Parse Event Details with Incomplete Data 🗂️ Categorize Documents into Predefined Types 📅 Schedule a Meeting with Function Calling 📝 Dynamically Generate Prompts with Re-usable Templates They Use Outlines Model Integrations Core Features Other Features About .txt Community Why Outlines? LLMs are powerful but their outputs are unpredictable. Most solutions attempt to fix bad outputs after generation using parsing, regex, or fragile code that breaks easily. Outlines guarantees structured outputs during…