
AI Firewall
AI Firewall is a security layer purpose-built to defend artificial intelligence systems, especially large language models (LLMs) and generative AI APIs, against...

Custom Guardrail uses an AI model and prompt to validate user inputs, allowing only relevant topics to pass through your workflow.
Component description
The Custom Guardrail component functions as an intelligent filter within an AI workflow, ensuring that user input aligns with specific criteria set by the workflow designer. This component leverages a language model (LLM) in combination with a customizable prompt to validate and control the flow of conversation or data.
At its core, the Custom Guardrail serves as a gatekeeper for user inputs. It uses a prompt (the “Guardrail Prompt”) to instruct the LLM on what is considered acceptable content. For example, the default prompt restricts conversations strictly to sports topics and blocks any unrelated or nonsensical (gibberish) inputs. This mechanism ensures that the AI workflow remains focused and does not deviate from its intended purpose.
| Name | Type | Description |
|---|---|---|
| LLM | HandleInput | The language model used to evaluate and enforce the guardrail. |
| Guardrail Prompt | PromptInput | The instruction provided to the LLM on what content is allowed. |
| Input Text | Message | The user’s message or content to be validated. |
| Name | Type | Description |
|---|---|---|
| True Route | Message | Output if the input text passes the guardrail check (i.e., meets the criteria). |
| False Route | Message | Output if the input text does not meet the criteria and is filtered out/rejected. |
By integrating the Custom Guardrail component into your AI workflow, you gain fine-grained control over what content is accepted, helping ensure your AI system behaves as intended and delivers reliable, relevant results.
Custom Guardrail checks user input against a set prompt using an LLM, allowing only inputs that match your criteria (such as topic restrictions) to proceed in the workflow.
It uses a guardrail prompt and an AI model to analyze user messages, automatically routing valid inputs forward and blocking or redirecting anything outside your specified topics or rules.
Yes, you can define any prompt to set your desired validation logic, such as restricting topics, blocking gibberish, or ensuring compliance with conversation guidelines.
Inputs that fail the guardrail check are routed through an alternate path, allowing you to handle rejected messages appropriately in your flow.
No coding is required. You simply set the criteria in plain language and connect the component within your flow.
Safeguard your AI workflows and shape user interactions using the Custom Guardrail component—designed for precise input filtering and topic control.
AI Firewall is a security layer purpose-built to defend artificial intelligence systems, especially large language models (LLMs) and generative AI APIs, against...
Easily generate formal, informal, or legal letters tailored to your needs. This AI-powered workflow takes your input and creates a personalized letter draft, he...
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.
