Dream Builder
The Dream Builder allows you to create sophisticated, multi-step conversational AI applications using a visual, flow-based interface. This page guides you through the process of creating, configuring, and testing your flow.
Builder interface Overview
The Builder is divided into several key areas:
Left Panel: Contains a list of available components you can use in your flow.
Main Canvas: The central area where you build your flow by adding and connecting nodes.
Action Buttons: Located at the top, these buttons allow you to save, publish, and test your flow.
Configuration Popover: Appears when you select a node, allowing you to configure its specific settings.
Execution Detail Panel: Shows detailed information about the execution of your flow during testing.
Creating a flow
Start with a Template or Blank Canvas:
When creating a new flow, you can choose from pre-built templates or start with a blank canvas.
Templates provide a quick starting point for common flow patterns.
Add Components:
Drag components from the Left Panel onto the Main Canvas.
Available components include for example (not exhaustive list):
Input Node
LLM Model Node
Agent Node
Knowledge Retrieval Node
Vector Store Insert Node
Various Loader Nodes (GitBook, Notion DB, Figma, Web Scraper)
Text Splitter Nodes
Reranker Node
Calculator Tool Node
Output Node
Connect Nodes:
Click and drag from one node's output to another node's input to create connections.
The flow of data and logic follows these connections.
Configure Nodes:
Click on a node to open its Configuration Popover.
Set parameters specific to each node type (e.g., model selection for LLM nodes, instructions for agents).
Mandatory nodes: A flow built with Dream Builder must have one Input and one Output node.
Variable reference: you can refer to parent nodes output through variables that can be inserted by using the (x) button next to compatible fields.
Testing Your Flow
Open Mini Chat:
Click the "Chat" button in the Action Buttons area to open the testing interface.
Interact with your flow:
Send messages to test the behavior of your flow.
Observe how different nodes process and respond to inputs.
View Execution Details:
The Execution Detail Panel shows how data flows through your nodes during testing.
Use this information to debug and optimize your flow.
Saving and Publishing
Save: Updates your flow configuration without making it live.
Save and Publish: Updates the configuration and makes the latest version of your flow available for use.
Best Practices
Start Simple: Begin with a basic flow and gradually add complexity.
Use Templates: Leverage pre-built templates to quickly set up common patterns.
Test Thoroughly: Use the Mini Chat to test various scenarios and edge cases.
Optimize Node Order: Arrange nodes efficiently to minimize unnecessary processing.
Document Your Flow: Use clear node names and annotations to make your flow easy to understand.
Advanced Features
Knowledge Integration: Use Knowledge Retrieval nodes to incorporate external data sources.
Multi-Step Reasoning: Combine LLM and Agent nodes for complex decision-making processes.
Dynamic Responses: Utilize different output paths based on user inputs or AI decisions.
Troubleshooting
If a node is not behaving as expected, check its configuration in the Configuration Popover.
Use the Execution Detail Panel to trace the flow of data and identify where issues might be occurring.
Ensure all required fields in node configurations are filled correctly.
By leveraging the power of flows through the Dream Builder in Waterflai, you can create highly customized and intelligent conversational experiences that go beyond simple question-answering.
Last updated