Lm-format-enforcer

Latest version: v0.10.2

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

Scan your dependencies

Page 6 of 6

0.4.3

- Improved JsonSchemaParser whitespace support
- Improved RegexParser performance, especially in regular expressions with `.+` and `.*` sections.

0.4.2

- Modified example in main README to be able to run end to end in Google Colab

0.4.1

- Added integration with the `LlamaIndex` library (huggingface and llama.cpp backends) via sample notebook.

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 6 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.