Hacker GitHub

← All repos

noamgat/lm-format-enforcer

View on GitHub ↗ ★ 2,038 Python

Enforce the output format (JSON Schema, Regex etc) of a language model

3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2024-06-30 · latest 2026-06-15

Mentions per year 3 mentions · busiest year 2024 (1)
20082026
  1. …tps://developers.openai.com/api/docs/guides/structured-out... https://github.com/guidance-ai/guidance https://github.com/noamgat/lm-format-enforcer https://github.com/mlc-ai/xgrammar https://github.com/dottxt-ai/outlines
    comment by Der_Einzige · 2026-06-15 · in Not everyone is using AI for everything
  2. …model to follow tool schema perfectly yet, and both Moonshot and Groq decided to use something like https://github.com/noamgat/lm-format-enforcer to make sure at least the output format is correct.
  3. ▲ 2
    LM Format Enforcer: Enforce the output format of a language model
    story by dmezzetti · 2024-06-30 · 0 comments