Guardrails Configuration
Create and manage custom rules to protect and guide usage within your connections
Guardrails allow you to create custom rules that protect and guide how your connections are used. These rules can be applied to specific connections or serve as default policies across your organization.
Creating a Guardrail
Access Guardrails
Navigate to the Guardrails section from the sidebar menu
Create New
Click the “Create a new Guardrail” button in the top-right corner
Set Basic Information
Provide:
- Name for the guardrail
- Description (Optional) explaining its purpose
Configure Rules
Provide:
- Input Rules
- Output Rules
Configuring Rules
Input Rules
Rules that evaluate incoming commands or queries:
- Pattern Matching: Define patterns to match specific commands or queries
- Conditions: Set conditions that trigger the rule
Output Rules
Rules that control or modify the output of commands:
- Information Control: Control what information can be returned
Rule Types
Applying Guardrails
Connection Assignment
Select Connections
Choose which connections will use the guardrail
Set Priority
Define the order of rule evaluation when multiple guardrails apply
Configure Behavior
Specify how rules should be enforced:
- Block non-compliant actions
- Warn users
- Require approval
Best Practices
Start Simple
Begin with basic rules and expand as needed
Test Rules
Validate rules in a test environment first
Document Purpose
Clearly describe what each rule does
Regular Review
Periodically review and update rules