v0.23.0 #2117
Pouyanpi
announced in
Announcements
v0.23.0
#2117
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
This release expands tool calling and observability in
IORails. Tool calling now works for streaming and non-streaming requests, including local rails that validate model-emitted tool calls and application-returned tool results. The OpenAI-compatible server also supports tool calling and adds a new/v1/checksendpoint for running input or output rails without generating a new model response.NeMo Guardrails 0.23.0 also adds lightweight Hugging Face classifier rails, context bloat detection, and a Polygraf integration for PII detection and masking. Exact NumPy search replaces Annoy as the default embedding index, removing the native C++ dependency while preserving existing similarity-threshold semantics. Distribution wheels are now approximately ten times smaller.
IORailsOpenTelemetry support now includes opt-in content capture and richer request, response, and token-usage attributes. LangChain integrations add support for the OpenAI Responses API and Harmony response format models. This release requires Pydantic>=2.5,<3.0; environments pinned to Pydantic 1.x must upgrade.🚀 Features
/v1/checksendpoint for standalone input and output rail validation, withpassed,modified, orblockedstatus reporting (#2013)🐛 Bug Fixes
TypeError(#1932, #1937)create_event(#1701)llm_paramson top of configured model parameters (#2020)bot sayresponses when continuing a flow (#1650)generate_value(#1699)orcontinuation at the end of a Colang 1.0 file instead of raising an index error (#1947)events_history_cachefor compatibility whenIORailsis selected (#2072)store_configwhenEmbeddingsCacheis serialized and restored (#1951)💼 Other
🚜 Refactor
BaseGuardrailsinterface and first-classpassthrough_fn, while deprecating direct access to internalLLMRailsattributes (#1933)>=2.5,<3.0and migrate validators and model APIs to Pydantic 2 (#967)New Contributors
detect_regex_pattern()crashes with TypeError during output streaming #1932Full Changelog: v0.22.0...v0.23.0
This discussion was created from the release v0.23.0.
Beta Was this translation helpful? Give feedback.
All reactions