Langfair

Latest version: v0.5.1

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

Scan your dependencies

Page 1 of 2

0.5.1

What's Changed
* Security patch for `jinja2`
* fix typo in `pyproject.toml`

What's Changed
* Release PR: v0.5.1 by dylanbouchard in https://github.com/cvs-health/langfair/pull/134


**Full Changelog**: https://github.com/cvs-health/langfair/compare/v0.5.0...v0.5.1

0.5.0

Highlights
* Compatibility with Python 3.12
* Additional sentiment classifier (https://huggingface.co/siebert/sentiment-roberta-large-english) enabled with counterfactual sentiment bias
* add `.basedpyright`

What's Changed
* v0.4.0 updates by dylanbouchard in https://github.com/cvs-health/langfair/pull/122
* Re/basedpyright by renzmann in https://github.com/cvs-health/langfair/pull/124
* Apply pre-commit formatting by renzmann in https://github.com/cvs-health/langfair/pull/125
* Add Support for Python 3.12 in LangFair by kmadan in https://github.com/cvs-health/langfair/pull/126
* Remove redundant condition in evaluate method by vsatyamuralikrishna in https://github.com/cvs-health/langfair/pull/128
* upgrade jinja2 for security patch by dylanbouchard in https://github.com/cvs-health/langfair/pull/131
* Enable Additional Sentiment Classifier by ManaliJoshi92 in https://github.com/cvs-health/langfair/pull/129
* Unit test for new sentiment classifier (Roberta) by mohitcek in https://github.com/cvs-health/langfair/pull/132
* Release PR: v0.5.0 by dylanbouchard in https://github.com/cvs-health/langfair/pull/133

New Contributors
* renzmann made their first contribution in https://github.com/cvs-health/langfair/pull/124
* kmadan made their first contribution in https://github.com/cvs-health/langfair/pull/126
* vsatyamuralikrishna made their first contribution in https://github.com/cvs-health/langfair/pull/128
* ManaliJoshi92 made their first contribution in https://github.com/cvs-health/langfair/pull/129

**Full Changelog**: https://github.com/cvs-health/langfair/compare/v0.4.0...v0.5.0

0.4.0

Highlights
* Option to use `n` parameter for select `BaseChatModel` classes for significantly faster generation
* Updated `ResponseGenerator`, `CounterfactualGenerator`, and `AutoEval` accepted types for `langchain_llm` parameter to only include LangChain `BaseChatModel`
* Customizable failure messages for `ResponseGenerator`, `CounterfactualGenerator`, and `AutoEval`
* Customizable `count` for `AutoEval`
* Patch security vulnerability related to `transformers` package
* Added graphic to readme to illustrate LangFair workflow

What's Changed
* v0.3.2 updates by dylanbouchard in https://github.com/cvs-health/langfair/pull/103
* fix typos in notebook by dylanbouchard in https://github.com/cvs-health/langfair/pull/109
* fixed issue 96 by Riddhimaan-Senapati in https://github.com/cvs-health/langfair/pull/110
* Enable use of `BaseLanguageModel.n` parameter for `ResponseGenerator` by dylanbouchard in https://github.com/cvs-health/langfair/pull/112
* update notebooks by zeya30 in https://github.com/cvs-health/langfair/pull/114
* Adding developer deps for jupyter notebook development by dskarbrevik in https://github.com/cvs-health/langfair/pull/115
* Adding dotenv to developer deps by dskarbrevik in https://github.com/cvs-health/langfair/pull/117
* update default use of n by dylanbouchard in https://github.com/cvs-health/langfair/pull/119
* Release PR: v0.4.0 by dylanbouchard in https://github.com/cvs-health/langfair/pull/120

New Contributors
* Riddhimaan-Senapati made their first contribution in https://github.com/cvs-health/langfair/pull/110

**Full Changelog**: https://github.com/cvs-health/langfair/compare/v0.3.2...v0.4.0

0.3.2

Highlights
* Security patch for `jinja2`
* Update readme to include software paper bibtex
* Minor docstring updates for docs site fixes
* Create PR template

What's Changed
* v0.3.1 updates by dylanbouchard in https://github.com/cvs-health/langfair/pull/88
* update docstrings by zeya30 in https://github.com/cvs-health/langfair/pull/101
* Add new paper bibtex, fix docstring, add PR template by dylanbouchard in https://github.com/cvs-health/langfair/pull/99
* Release PR: v0.3.2 by dylanbouchard in https://github.com/cvs-health/langfair/pull/102


**Full Changelog**: https://github.com/cvs-health/langfair/compare/v0.3.1...v0.3.2

0.3.1

Highlights
* New method `check_ftu` to check for FTU in `CounterfactualGenerator` class. This method provides a more user-friendly way to check for FTU than the previous approach with `parse_texts`
* Updates to counterfactual demo notebook
* Updates to dev dependencies
* Fix broken links in readme

What's Changed
* v0.3.0 updates by dylanbouchard in https://github.com/cvs-health/langfair/pull/80
* Add sphinx to a poetry dep group by dskarbrevik in https://github.com/cvs-health/langfair/pull/78
* Fix broken links in README and copy-paste errors in example notebook by xavieryao in https://github.com/cvs-health/langfair/pull/81
* New FTU check method by dylanbouchard in https://github.com/cvs-health/langfair/pull/85
* Contributing guide update by dskarbrevik in https://github.com/cvs-health/langfair/pull/87
* Release PR: v0.3.1 by dylanbouchard in https://github.com/cvs-health/langfair/pull/86

New Contributors
* xavieryao made their first contribution in https://github.com/cvs-health/langfair/pull/81

**Full Changelog**: https://github.com/cvs-health/langfair/compare/v0.3.0...v0.3.1

0.3.0

Highlights
* Option to return response-level scores for `CounterfactualMetrics`, `AutoEval`
* Additional unit tests for `CounterfactualMetrics`, `AutoEval`
* Data loader functions for cleaner code when using example data
* Enforced strings in `ResponseGenerator`, `CounterfactualGenerator` output to avoid error when computing metrics if any response is None

What's Changed
* v0.2.1 updates by dylanbouchard in https://github.com/cvs-health/langfair/pull/65
* Ds/data loader by dskarbrevik in https://github.com/cvs-health/langfair/pull/59
* Unit tests for classification metrics by mohitcek in https://github.com/cvs-health/langfair/pull/69
* enforce strings in response outputs, return response-level cf scores by dylanbouchard in https://github.com/cvs-health/langfair/pull/66
* Consistent return object of AutoEval class by mohitcek in https://github.com/cvs-health/langfair/pull/70
* notebook updates by dylanbouchard in https://github.com/cvs-health/langfair/pull/72
* AutoEval unit tests by mohitcek in https://github.com/cvs-health/langfair/pull/73
* Final changes before releasing v0.3.0 by mohitcek in https://github.com/cvs-health/langfair/pull/75
* Release PR: v0.3.0 by dylanbouchard in https://github.com/cvs-health/langfair/pull/76


**Full Changelog**: https://github.com/cvs-health/langfair/compare/v0.2.1...v0.3.0

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.