BSD Ports

misc/py-lm-format-enforcer 0.11.3 DragonFly

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

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
misc, python
Package size
82.9 KiB, 433.3 KiB installed

Description

lm-format-enforcer enforces the output format (e.g., JSON schema or regular expressions) of language models. It supports popular LLM libraries and integrates with frameworks like HuggingFace and LlamaCpp.

In the other systems

The newest version among them is 0.11.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlymisc/py-lm-format-enforcer0.11.3 newestnone known-[email protected]-
FreeBSDmisc/py-lm-format-enforcer0.11.3 newestnone known-[email protected]-
HardenedBSDmisc/py-lm-format-enforcer0.11.3 newestno data-[email protected]-
GhostBSDmisc/py-lm-format-enforcer0.11.3 newestno data-[email protected]-

Version history 1

  1. 0.11.3

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install py312-lm-format-enforcer

From DPorts:

cd /usr/dports/misc/py-lm-format-enforcer && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 5

No port depends on this one.