nemoguardrails.deprecation
Removal warnings for what leaves with the LLMRails engine: direct LLMRails use and Colang 2.x.
Module Contents
Classes
Functions
Data
API
Bases: DeprecationWarning
A feature that is removed together with the LLMRails engine.
Return the stacklevel, counted from warn_at_caller_outside_package, of the nearest frame outside the package.
Return True when the function calling this one was itself called from inside the nemoguardrails package.
Return the removal notice for subject, naming alternative as the way forward.
Silence LLMRailsRemovalWarnings in the block, so that one construction emits at most one.
Emit message as category, attributed to the nearest caller outside the nemoguardrails package.
Emit an LLMRailsRemovalWarning attributed to the nearest caller outside the nemoguardrails package.