NeMo-Guardrails
NeMo-Guardrails copied to clipboard
NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.
### Did you check docs and existing issues? - [x] I have read all the NeMo-Guardrails docs - [x] I have updated the package to the latest version before submitting...
## Description Added support for extracting reasoning traces and tool calls from LangChain 1.x content blocks format, with automatic fallback to the legacy format for backward compatibility. The implementation: -...
# PR Description ## Summary Adds full LangChain 1.x support while maintaining backward compatibility with 0.x versions. This PR migrates all imports to use canonical `langchain-core` paths, removes deprecated features...
## Description Removes the deprecated `nemoguardrails.llm.params` module that was scheduled for removal in v0.19.0. The `llm_params` context manager has been replaced by passing parameters directly to `llm_call()` using the `llm_params`...
## Description The doc file was misformatted and cause the page to render incorrectly. The [safe response in Hindi](https://nvidia-nemo.github.io/Guardrails/review/pr-1500/user-guides/advanced/nemotron-safety-guard-deployment.html#configuring-guardrails-and-running-inference) looks better now. ## Related Issue(s) ## Checklist - [ ]...
## Description This PR adds embedding-based topic detection rail using semantic similarity to block off-topic queries. This additional detector would give users a lightweight, fast and flexible alternative for topic...
## Description This PR logs the model name and base URL before an LLM is invoked. Some context: From the [NeMo Guardrails microservice](https://docs.nvidia.com/nemo/microservices/latest/guardrails/index.html), we've run into different errors that can...
### Did you check docs and existing issues? - [x] I have read all the NeMo-Guardrails docs - [x] I have updated the package to the latest version before submitting...
### Please also confirm the following - [x] I have searched the [main issue tracker](https://github.com/NVIDIA/NeMo-Guardrails/issues) of NeMo Guardrails repository and believe that this is not a duplicate ### Issue Kind...
## Description ## Summary This report details the type-safety enhancements and bug fixes introduced in the pull request. The changes primarily focus on preventing runtime `TypeError`, `AttributeError`, and `KeyError` exceptions...