Overview
This template solves the headache of manually managing AI conversation modes by automating the decision to invoke either a search-enabled agent or a baseline dialogue agent. It streamlines workflow logic to dynamically route user queries based on front-end inputs, saving time and reducing errors while enabling advanced knowledge integration when needed.
The Impact
- Slash manual routing. Automatically selects AI mode based on user preferences and context.
- Boost response relevance. Enables dynamic web search integration for up-to-date answers.
- Cut development overhead. Agent nodes handle tool invocations without coding complex logic.
- Scale with ease. Supports future extensions like private knowledge bases and multi-tool workflows.
Who This Is For
- Product Managers who require flexible AI workflows for diverse user queries.
- AI Developers building conversational agents needing seamless tool integration.
- Support Teams aiming to automate knowledge retrieval and FAQ handling.
- Business Analysts who want to embed company context and private data dynamically.
How It Works
- Start Node Captures Inputs
- Receives user query plus front-end variables: Search (boolean) and Model (string) to guide the workflow.
- Conditional Branching Logic
- Checks Search variable: if true, routes to Search-Capable Agent; if false, routes to Baseline Agent.
- Search-Capable Agent Execution
- Uses ReAct framework to autonomously decide when to invoke search tools, integrate results, and refine responses.
- Baseline Agent Execution
- Handles direct Q&A with no external search, optimizing for quick, lightweight interactions.
- Output Delivery
- Each agent sends its response to the corresponding reply node, delivering the final answer seamlessly.
What You'll Need
Before using this template, make sure you have:
- Access to GoInsight Workspace with the ability to edit and publish workflows.
- Frontend interface with toggles for "Allow Web Search (Search)" and "AI Model Selector (Model)" to pass variables.
- Configured credentials and permissions for any integrated search tools (e.g., Google Search API) if search is enabled.
- Familiarity with workflow publishing to save and activate changes after editing.
How to Use
- Step 1. Configure Frontend Selectors
- Step 2. Edit Workflow Logic (Optional)
- Step 3. Save and Publish
- Step 4. Test Conversation Starts
- Step 5. Monitor and Refine
Set up interface controls to allow users to enable/disable web search and select AI models, passing these as variables into the workflow.
Adjust the conditional branching or agent parameters to fit specific business needs, like adding company context or private knowledge integration.
After any changes, save and publish the workflow to activate updates; otherwise, changes remain in draft mode.
Initiate dialogues with varying Search toggle settings to verify the correct agent is invoked and responses are accurate.
Review interaction logs and user feedback to fine-tune prompt templates and agent configurations for optimal performance.