
Generator
Ontdek het Generator-component in FlowHunt—krachtige AI-gedreven tekstgeneratie met het door jou gekozen LLM-model. Creëer moeiteloos dynamische chatbot-antwoor...
Custom Guardrail gebruikt een AI-model en prompt om gebruikersinvoer te valideren, zodat alleen relevante onderwerpen door je workflow worden toegelaten.
Componentbeschrijving
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 controleert gebruikersinvoer aan de hand van een ingestelde prompt met een LLM, zodat alleen invoer die aan jouw criteria voldoet (zoals onderwerpbeperkingen) verdergaat in de workflow.
Het gebruikt een guardrail-prompt en een AI-model om gebruikersberichten te analyseren, waarbij geldige invoer automatisch wordt doorgestuurd en alles buiten de opgegeven onderwerpen of regels wordt geblokkeerd of omgeleid.
Ja, je kunt elke gewenste prompt instellen om je validatielogica te bepalen, zoals het beperken van onderwerpen, het blokkeren van onzin of het naleven van gespreksrichtlijnen.
Invoer die niet door de guardrail-controle komt, wordt via een alternatieve route geleid, zodat je afgewezen berichten op de juiste manier in je flow kunt afhandelen.
Er is geen codering nodig. Je stelt de criteria eenvoudig in gewone taal in en koppelt de component in je flow.
Bescherm je AI-workflows en stuur gebruikersinteracties met de Custom Guardrail-component—ontworpen voor nauwkeurige inputfiltering en onderwerpcontrole.
Ontdek het Generator-component in FlowHunt—krachtige AI-gedreven tekstgeneratie met het door jou gekozen LLM-model. Creëer moeiteloos dynamische chatbot-antwoor...
Het Chat Input-component in FlowHunt start gebruikersinteracties door berichten vanuit de Playground vast te leggen. Het dient als het startpunt voor flows, waa...
De Escalatie Gateway-component routeert inkomende berichten intelligent op basis van escalatielogica, waardoor workflows kunnen schakelen tussen geautomatiseerd...