nemoguardrails.library.clavata.actions
Check for matches against a Clavata policy.
Module Contents
Classes
Functions
Data
API
Bases: BaseModel
Result of a label evaluation
Convert a Clavata section report to a LabelResult
Bases: BaseModel
Result of Clavata Policy Evaluation
Convert a Clavata job to a PolicyResult
Convert a Clavata report to a PolicyResult
Check for matches against a Clavata policy.
Get the policy result for the given source.
Get the Clavata config and flow config for the given source.
Checks whether the provided text matches the specified Clavata policy ID. Note that this action will return True if any label in the policy matches the text.
Get Policy ID will check the input policy. If the input is already a UUID, that UUID will be used. Otherwise, the config will be checked to try to match the input policy alias to a policy ID. If no match is found, an error will be raised.
Get the server endpoint from the Clavata config.
Check whether the labels matched the policy