跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

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

目的

To ensure LLM outputs conform to strict schemas and types, maximizing reliability and integration with downstream systems by controlling generation at the token level.

功能

  • Guaranteed valid JSON/XML/code structure
  • Pydantic model support for type-safe outputs
  • Support for local models (Transformers, vLLM, llama.cpp)
  • Optimized inference speed with FSM-based constrained generation
  • Generates against JSON schemas automatically
  • Control token sampling at the grammar level

使用场景

  • Ensuring LLM-generated data conforms to strict schemas for API integration.
  • Generating type-safe data structures using Pydantic models.
  • Optimizing inference speed and output validity when using local LLMs.
  • Controlling LLM output to match specific formats like code, regex patterns, or specific choices.

非目标

  • Providing a general-purpose LLM API wrapper.
  • Handling non-deterministic or free-form text generation without constraints.
  • Replacing the need for fundamental LLM prompting techniques.

安装

请先添加 Marketplace

/plugin marketplace add Orchestra-Research/AI-Research-SKILLs
/plugin install AI-Research-SKILLs@ai-research-skills

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交17 days ago
星标8.3k
许可证MIT
状态
查看源代码

类似扩展

Outlines

88

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

技能
davila7

Geofeed Tuner

100

Use this skill whenever the user mentions IP geolocation feeds, RFC 8805, geofeeds, or wants help creating, tuning, validating, or publishing a self-published IP geolocation feed in CSV format. Intended user audience is a network operator, ISP, mobile carrier, cloud provider, hosting company, IXP, or satellite provider asking about IP geolocation accuracy, or geofeed authoring best practices. Helps create, refine, and improve CSV-format IP geolocation feeds with opinionated recommendations beyond RFC 8805 compliance. Do NOT use for private or internal IP address management — applies only to publicly routable IP addresses.

技能
github

Website Extraction Api

100

Extract typed JSON from public website pages using a schema.

技能
iterationlayer

Extract Real Estate Listing

100

Extract property address, price, room count, and features from a listing document into structured JSON for MLS and property platforms.

技能
iterationlayer

Extract Medical Record

100

Extract patient details, diagnoses, and medications from a medical record into structured JSON for healthcare workflows.

技能
iterationlayer

Moyu (摸鱼)

100

감지된 과잉 엔지니어링 패턴: (1) 사용자가 명시적으로 요청하지 않은 코드나 파일을 수정할 때 (2) 요청되지 않은 새로운 추상화 계층(클래스, 인터페이스, 팩토리, 래퍼)을 생성할 때 (3) 요청되지 않은 주석, 문서, JSDoc, 타입 주석을 추가할 때 (4) 요청되지 않은 새로운 종속성을 도입할 때 (5) 최소 편집 대신 파일 전체를 다시 작성할 때 (6) diff 범위가 사용자의 요청을 명백히 초과할 때 (7) 사용자가 "너무 많아", "거기는 건드리지 마", "X만 변경해", "간단하게", "그만"과 같은 신호를 보낼 때 (8) 발생할 수 없는 시나리오에 대한 오류 처리, 유효성 검사, 방어적 코드를 추가할 때 (9) 요청되지 않은 테스트, 설정 스캐폴딩, 문서를 생성할 때

技能
uucz