LM Format Enforcer

JSON →
library 0.11.3 ·python
verified May 20, 2026

LM Format Enforcer is a Python library designed to constrain the output of large language models (LLMs) to specific formats like JSON Schema or Regular Expressions. It integrates with popular LLM frameworks such as Hugging Face Transformers and vLLM. The current version is 0.11.3, and it typically releases minor updates frequently to support new integrations or fix compatibility issues.

total hits 52
actors 8 distinct systems
last hit 1d ago SERankingBot
ChatGPT-User
23
Script
2
OAI-SearchBot
2
PerplexityBot
2
Search engines
1
Humans
17

top countries 🇺🇸 United States · 🇫🇷 France · 🇰🇷 South Korea · 🇩🇪 Germany · VN