nemoguardrails.library.trend_micro.actions
nemoguardrails.library.trend_micro.actions
Module Contents
Classes
Functions
Data
API
Bases: BaseModel
Represents a guard entity with a single string attribute.
Bases: BaseModel
Represents the result of a guard analysis, specifying the action to take and the reason.
Retrieves the TrendMicroRailConfig from the provided RailsConfig object.
Parameters:
The Rails configuration object containing possible
Returns: TrendMicroRailConfig
The Trend Micro configuration, either from the provided
Custom action to invoke the Trend Micro AI Guard API.
A missing API key blocks the content. A valid provider response supplies the allow or block decision, while transport, status, decoding, and validation failures fail open.
Parameters:
Rails configuration containing the Trend Micro settings.
Content to evaluate.
Optional caller-owned HTTP client.
Returns: RailOutcome
The provider decision or the integration’s fallback outcome.