BSD Ports

textproc/py-llguidance 1.9.1_1 FreeBSD

Low-level Guidance library for constrained LLM generation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
textproc, python
Package size
2381.3 KiB, 10649.1 KiB installed

Description

llguidance is a low-level library implementing grammar-constrained decoding for language models. It provides efficient token masks for steering LLM generation toward desired output formats including JSON and regex patterns.

In the other systems

SystemPortVersion
FreeBSDtextproc/py-llguidance1.9.1_1
HardenedBSDtextproc/py-llguidance1.8.0_1
GhostBSDtextproc/py-llguidance1.8.0_1

Install

Binary package:

pkg install py312-llguidance

From the ports tree:

cd /usr/ports/textproc/py-llguidance/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-llguidance>0:textproc/py-llguidance

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.8.0_21.9.1_1--1.9.1_1
FreeBSD:14:quarterly1.8.0_11.8.0_1n/a-1.8.0_1
FreeBSD:15:latest1.9.1_11.9.1_1n/a--
FreeBSD:15:quarterly1.8.0_11.8.0_1n/an/an/a
FreeBSD:16:latest1.8.0_11.9.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 4

The full lists below include those, and their dependencies in turn.

Build dependencies 24
Run dependencies 7

Configuration

No options to configure.

USES
cargo python shebangfix ssl
Service scripts
none

Files

distinfo 352
FileSizeSHA256
llguidance-1.9.1.tar.gz1.196e+063ba1b37585d07f50bb73e06dca6d45c88c9d5801789c071c8ff784c9dbcc5c46
rust/crates/addr2line-0.24.2.crate39015dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/ahash-0.8.12.crate434135a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75
rust/crates/aho-corasick-1.1.3.crate1833118e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
rust/crates/alloca-0.4.0.crate4257e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4
rust/crates/anes-0.1.6.crate238574b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299
rust/crates/anstream-0.6.19.crate28767301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933
rust/crates/anstyle-1.0.11.crate15880862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd
rust/crates/anstyle-parse-0.2.7.crate217074e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
rust/crates/anstyle-query-1.1.3.crate101906c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9
rust/crates/anstyle-wincon-3.0.9.crate12561403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882
rust/crates/anyhow-1.0.98.crate53334e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487
rust/crates/atomic-waker-1.1.2.crate124221505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0
rust/crates/autocfg-1.5.0.crate18729c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8
rust/crates/backtrace-0.3.75.crate926656806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002
rust/crates/base64-0.13.1.crate610029e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8
rust/crates/base64-0.22.1.crate8159772b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6
rust/crates/bit-set-0.5.3.crate144700700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1
rust/crates/bit-set-0.8.0.crate1628908807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3
Master sites 1
  • PYPI

Commit history 6

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
6b525bdb7b Yuri Victorovich textproc/py-llguidance: update 1.8.0 → 1.9.1
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
6a3c324775 Yuri Victorovich textproc/py-llguidance: update 1.7.6 → 1.8.0

The latest 5 of 6 in the history this site was built from.