[GH-ISSUE #5917] Integrate LM Format Enforcer #29453

Closed
opened 2026-04-22 08:21:57 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @mjspeck on GitHub (Jul 24, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5917

It would be really powerful to be able to integrate LM Formate Enforcer with Ollama. It already supports llama.cpp as well.

Originally created by @mjspeck on GitHub (Jul 24, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5917 It would be really powerful to be able to integrate [LM Formate Enforcer](https://github.com/noamgat/lm-format-enforcer) with Ollama. It already supports llama.cpp as well.
GiteaMirror added the feature request label 2026-04-22 08:21:57 -05:00
Author
Owner

@devonzara commented on GitHub (Aug 15, 2024):

Might be worth following:

<!-- gh-comment-id:2290790562 --> @devonzara commented on GitHub (Aug 15, 2024): Might be worth following: - #6237
Author
Owner

@xucian commented on GitHub (Nov 4, 2024):

what's the stance on this? lm format enforcer claims it beats the Outlines lib, so that's a big deal

<!-- gh-comment-id:2454840177 --> @xucian commented on GitHub (Nov 4, 2024): what's the stance on this? lm format enforcer claims it beats the Outlines lib, so that's a big deal
Author
Owner

@ParthSareen commented on GitHub (Dec 5, 2024):

Closing this out for now with our structured outputs PR - already digging into some constrained decoding work - will check this out and keep in mind! Thank you!

<!-- gh-comment-id:2518839855 --> @ParthSareen commented on GitHub (Dec 5, 2024): Closing this out for now with our structured outputs PR - already digging into some constrained decoding work - will check this out and keep in mind! Thank you!
Author
Owner

@mjspeck commented on GitHub (Dec 5, 2024):

Closing this out for now with our structured outputs PR - already digging into some constrained decoding work - will check this out and keep in mind! Thank you!

Is that this PR?

<!-- gh-comment-id:2520916105 --> @mjspeck commented on GitHub (Dec 5, 2024): > Closing this out for now with our structured outputs PR - already digging into some constrained decoding work - will check this out and keep in mind! Thank you! Is that [this PR](https://github.com/ollama/ollama/pull/7939)?
Author
Owner

@ParthSareen commented on GitHub (Dec 5, 2024):

Closing this out for now with our structured outputs PR - already digging into some constrained decoding work - will check this out and keep in mind! Thank you!

Is that this PR?

Oops forgot to tag it #7900

<!-- gh-comment-id:2520928139 --> @ParthSareen commented on GitHub (Dec 5, 2024): > > Closing this out for now with our structured outputs PR - already digging into some constrained decoding work - will check this out and keep in mind! Thank you! > > > > Is that [this PR](https://github.com/ollama/ollama/pull/7939)? Oops forgot to tag it #7900
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29453