
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.
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...

A real-time chatbot that uses Google Search restricted to your own domain, retrieves relevant web content, and leverages OpenAI LLM to answer user queries with ...

A simple AI chat assistant workflow that leverages previous conversation history to generate relevant responses to user input. Includes a welcome message and us...
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.