Release Notes#
The following sections summarize and highlight the changes for each release. For a complete record of changes in a release, refer to the CHANGELOG.md in the GitHub repository.
0.14.0#
Features#
Added support for Python 3.13.
Simplified and broadened support for chat model providers from LangChain and LangChain Community chat model providers. You must use
langchain
version0.2.14
or higher andlangchain-community
version0.2.5
or higher.Added support for code injection detection. For more information, refer to Injection Detection.
Enhanced the
nemoguardrails
CLI with afind-providers
argument to list chat and text completion providers. For more information, refer to providers.
Breaking Changes#
Removed support for the NeMo LLM Service,
nemollm
. This provider reached end-of-life on February 5, 2025.The
HuggingFacePipelineCompatible
provider is refactored. Previously, the class was available from thenemoguardrails.llm.providers
package. In this release, the class is moved to thenemoguardrails.llm.providers.huggingface
package.
Fixed Issues#
Fixed an issue when tracing is enabled. Previously, the response was replaced when tracing is enabled and could cause a crash or exception. In this release, the response is not modified when tracing is enabled. For more information, refer to PR #1103.
Fixed an issue with the self check output flow. Previously, the
stop
instruction was not executed whenenable_rails_exceptions
was enabled. In this release, thestop
instruction correctly regardless of theenable_rails_execptions
value. For more information, refer to PR #1126.Previously, the model specification in the guardrails configuration file,
config.yml
, did not validate the model name. In this release you must specify the model name in themodel
top-level field or asmodel
ormodel_name
in the parameters field. For more information, refer to PR #1084.