FlowAgent Canvas
The canvas is the core workflow orchestration feature of FlowAgent. Through a visual editing interface, complex enterprise SOP processes can be broken down into multiple components and steps. This allows LLM to specialize and collaborate, achieving more controlled and efficient AI responses.
Connection Rules
FlowAgent builds collaborative workflows among different components through connections, supporting a hybrid orchestration design model of serial and parallel. Connections between components have the functions of triggering downstream component nodes
and passing the output data of upstream component nodes
.
The activation of connections in FlowAgent differs significantly from that in workflow. Workflow connections only have the function of
triggering downstream component nodes
.
The connection rules of FlowAgent are as follows:
- In Flow, the "input" and "output" modules of each component, such as
LLMs
,Knowledge Retrieval
,Branch Judgment
,Condition Judgment
,Rule Judgment
, andCard Messages
, must have at least 1 connection; otherwise, they cannot operate. - In Flow, the "input" module of the
Human Service
component must have at least 1 connection, but since it has no output module, no connection is required. - In Flow, the
End
component must have at least 1 connection, but since it has no output module, no connection is required.
Component Data Transmission Rules
The data transmission rules between FlowAgent components vary. GPTBots categorizes the component data transmission rules into the following three types:
- Generation: Generates a new response result based on upstream input and component configuration.
- Pass-through: Passes the upstream input data completely to the downstream component node without any processing or modification.
- Special Pass-through: In addition to completely passing through the upstream input data, it also carries the response results generated by the component.
Component Name | Data Transmission Type | Component Data Transmission Description |
---|---|---|
LLMs | Generation | Generates response results by calling the LLM model based on upstream input and component configuration. |
Branch Judgment | Generation | Based on branch conditions, decomposes and extracts upstream input information to pass to different downstream component nodes. The branch judgment component may trigger one or multiple branches. |
Condition Judgment | Pass-through | Only passes the upstream input data completely to the downstream component node without any processing. |
Rule Judgment | Pass-through | Only passes the upstream input data completely to the downstream component node without any processing. |
Knowledge Retrieval | Special Pass-through | In addition to completely passing through the upstream input data to the downstream component node, it also passes the retrieved result data to the downstream component node. |
Human Service | Pass-through | After triggering, passes the upstream input data to a third-party human customer service system. |
Card Message | Generation | Regardless of the upstream output, only passes the component configuration data to the downstream. |
FlowAgent Orchestration
Each FlowAgent consists of one Start, one End, and several components. User messages enter the Agent through Start, are transmitted and processed by several components, and return response results to the user through End.
Adding Components
From the left component menu, press the left mouse button to drag and drop components anywhere on the canvas. You can also click the "+Add Node" button to add components, and you can insert new components by clicking the connection line in the middle.
Connecting Components
Press the left mouse button and drag the line to connect components, forming a workflow.
Settings
Click on the component card to open the settings panel for that component and set specific processing parameters.
Debugging Preview
Click the "Conversation Debugging" button to call out the dialogue input box on the right. After sending a message, you can run the FlowAgent and observe the data flow on the canvas from "input, triggering components to output."
- Conversation Debugging
Click the "Conversation Debugging" button in the upper right corner to call out the dialogue window in the Flow editing window. After entering and sending information, you can run the FlowAgent. - Component Node Details
After the FlowAgent runs successfully, click the "Details" button of thesuccessfully run
component node to view the input/output detail data of that component. - Node Debugging
Click the "Node Debugging" button in the upper right corner to call out the node debugging window in the Flow editing window. After selecting the target component, you can perform single-node debugging.