Welcome to Outformer’s Documentation!

PyPI - Package Version Python Versions License Repo - GitHub.io

Outformer is a powerful library that enables language models to generate structured outputs. It ensures always valid JSON outputs by generating only values while maintaining the structural integrity of your schema.

Features

  • 🔄 Structured Output Generation: Generate valid JSON outputs from language models

  • 🎯 Schema Validation: Ensure outputs conform to your JSON schema

  • 🛠️ Flexible Integration: Works with any Hugging Face transformer model

  • 🚀 Easy to Use: Simple API with minimal configuration

  • 🎨 Value Highlighting: Visualize generated values in your JSON structure

Indices and tables