nemoguardrails.library.cel.rail_config
nemoguardrails.library.cel.rail_config
Module Contents
Classes
Functions
API
Bases: RailConfigBaseModel
CEL expressions to check for one tool.
expressions
model_config
Compile the expressions at config load time, so a syntax error fails the load.
The compiled programs are not kept: a cel.Program cannot be deep-copied or pickled, which the synchronous generate() and check() do to the config.
Compile expression, importing the optional CEL library only when a config uses it.