Creating a Guardrail
To create a new guardrail, follow these steps:Navigate to the Guardrails page in the Qualifire platform.
By clicking on the “Guardrails” tab in the Qualifire platform, you can
access the Guardrails page where you can create, manage, and monitor your
guardrails.
Click on the 'New Guardrail' button.
Once you are in the Guardrails page, click on the ‘Create New Guardrail’
button to create a new guardrail.
Configure the guardrail to your specific needs.
You can customize the guardrail to your specific needs by setting the
conditions, actions, and other parameters.
Using Guardrails via SDK
Guardrail Categories
Security Guardrails
Security Guardrails
Protect against prompt injection attacks and prevent PII exposure. These guardrails run on input and output to catch threats at every stage.
Safety Guardrails
Safety Guardrails
Filter harmful content including dangerous material, harassment, hate speech, and sexually explicit content.
Reliability Guardrails
Reliability Guardrails
Ensure outputs are accurate and grounded. Includes hallucination detection, context grounding, and tool selection quality checks.
Policy Guardrails
Policy Guardrails
Enforce custom business rules using natural language assertions. Define any policy and have it consistently applied to every response.
Managing Guardrails
Once you have created a guardrail, you can manage it through the Guardrails page. You can edit, duplicate, or delete guardrails as needed.Monitoring Guardrails
Qualifire provides a detailed view of the guardrail’s application to your content. You can see the results of the guardrail’s checks, the severity level, and any issues or failed checks that were identified. You can also access the raw data and explore a feature that suggests better prompts.Evaluations
Learn about the evaluation checks that power guardrails
Notifiers
Set up alerts when guardrails are triggered