Lm-format-enforcer

Latest version: v0.10.11

Safety actively analyzes 715199 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 8

0.4.0

- Introduced lmformatenforcer.integrations module which will have the integrations with inference engines.
- Added llama-cpp-python integration to the library in lmformatenforcer.integrations.llamacpp
- Breaking API Change: Moved 'build_transformers_prefix_allowed_tokens_fn',
'generate_enforced' from lmformatenforcer to lmformatenforcer.integrations.transformers.

Page 8 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.