Flow Components
Last updated:2024-02-20

Flow Components

LLM

image-20240220165112909

OpenAI ChatGPT

This component uses input information, calls the ChatGPT service provided by OpenAI based on the component configuration.

The configuration items are consistent with the LLM in the Bot, and will not be further elaborated here.

Azure ChatGPT

This component uses input information, calls the ChatGPT service provided by Microsoft Azure based on the component configuration.

The configuration items are consistent with the LLM in the Bot, and will not be further elaborated here.

Baidu ERNIE Bot

This component uses input information, calls the ERNIE Bot service provided by Baidu based on the component configuration.

The configuration items are consistent with the LLM in the Bot, and will not be further elaborated here.

Knowledge Vector

Knowledge Vector

image-20240220165033172

This component uses the input information, performs vector retrieval in the selected knowledge document based on the component configuration, and outputs the knowledge recall results.

Within this component, you can select specific knowledge documents from the Bot's knowledge base as the knowledge retrieval range for the current component.

The remaining configuration items are consistent with the knowledge base in the Bot, and will not be further elaborated here.

Condition

Branch

image-20240220164954649

This component uses input information, based on component configuration, through LLM capabilities, based on natural language, to determine the intent of the input content, and outputs through the corresponding branch.

Boolean

image-20240220165230753

This component uses input information, based on component configuration, through LLM capabilities, based on natural language, to determine the boolean value of the input content, and outputs through the corresponding boolean value.

Preset Response

Preset Response

image-20240220164924653

This component ignores the input information and directly outputs the preset content.

The preset response content can be configured as the following types:

  • Text: Output as text.
  • Card: Output as card. Rich information can be configured in the card, such as title, picture, video, location, button events, etc.
  • Form: Output as form. The form input fields and submit URL can be configured in the form.
  • JSON: Output in JSON structure, suitable for scenarios where the downstream needs to be submitted to the API, etc.