Flow
Last updated:2024-02-20

Flow

image-20240923161057588

Here, you can configure various information for the Bot Flow.

Structure

Input & Output

image-20240923161313715

Each FlowBot consists of a "user input", an "output", and several "components". User messages enter the Bot through the "input", are passed and processed by the components, and then returned to the user through the "output".

If memory capability is enabled, the "output" result of each round of dialogue will become the "input" of the next round of dialogue.

Component

image-20240923162447127

Components are an important part of FlowBot, they are the abstract elements of Bot. By connecting different components, various FlowBots that solve complex problems can be created.

Each component consists of a "component input", one or more "component outputs", and a wealth of "settings".

  • "Component Input": Can be accessed by "user input" or the "component output" of upstream components.
  • "Component Output": Can be connected to "output" or the "component input" of downstream components.
  • "Settings": Vary depending on the component, they constitute the rich capabilities of the component.

Orchestration

Drag & Drop

image-20240923162555820

From the component menu on the left, press the left button to drag the component to any place on the canvas.

Connect

image-20240923162624594

Press the left button, drag the line, and you can connect the components to form a business flow.

Settings

image-20240923162717679

Click "Settings" to open the settings panel of the component and set specific processing parameters for this component.

Run

Remember to 'save' before running.

image-20240220162948499

After filling in the content in "User Input", click "Run" to observe the flow of data from "User Input" to "Output" on the canvas.

At the same time, you can view the output information of each component by clicking the eye icon of "Component Output".

Chat

Remember to 'save' before running.

image-20240923163023850

You can open the dialog panel on the right to experience the effect of Flow's configuration in the dialog in real time.