Guardrails
Last updated
Last updated
Guardrail nodes are crucial components within Dynamiq's platform that enforce predefined constraints and safety measures within workflows. These nodes help maintain data integrity, security, and compliance by preventing undesirable inputs or actions.
All nodes require no additional configuration and are ready for use immediately after being moved to the workflow.
The Llama Guard Detector is a specialized guardrail powered by Llama, designed to detect policy violations in messages and ensure compliance with predefined safety standards.
Example Usage:
In case of detecting policies violation, the node will return the violation details:
PII Detector node analyze the provided data to identify and flag personally identifiable information (PII), specifying detected types such as emails, phone numbers, credit card details, and more. This ensures data privacy and compliance before further processing.
Example Usage:
In case of detecting PII, the node will return a flag indicating detection and a list of detected PII types:
The Prompt Injection Detector is designed to detect and block attempts to manipulate the model by injecting malicious or unauthorized prompts.
Example Usage:
In case of detecting prompt injection, the node will return a flag indicating detection, signaling a potential attempt to manipulate the model: