Modify Dialogue Pipeline Configuration (Pipelines)
The pipeline controls the processing flow after receiving a message, as well as the information exchange with the large language model. Each bot can be bound to one pipeline, and the same pipeline can be bound to multiple bots.
LangBot automatically creates a default pipeline when first started. When creating a bot, it is automatically bound to the default pipeline. When creating the first model, it is automatically set as the model for the default pipeline.
You can create multiple pipelines for different bots to adapt to different scenarios.
The current pipeline can be configured with the following features:
AI Capabilities
You can choose to use: regular large language model Built-in Agent
, Dify
, Alibaba Cloud Bailian
AI capabilities are mainly divided into two parts: selecting the runner and configuring runner parameters.
The runner defines how to schedule the large model to process messages. The default is Built-in Agent
, which is a multi-round Agent strategy implemented by LangBot. Only when this runner is selected will the models and tools configured internally in LangBot be used.

You can also choose to use external LLMOps platforms such as Dify
, Alibaba Cloud Bailian
. In this case, the models, prompts, tools, and other resources used will be provided by the LLMOps platform.

- For detailed steps on connecting to Dify, you can refer to the tutorial.
Conversation Variables
When using Dify or Alibaba Cloud Bailian, LangBot explicitly passes the following parameters, which you can add to the start node of the Dify workflow:
user_message_text
: The plain text of the user messagesession_id
: User session ID,person_<id>
for private chat,group_<id>
for group chatconversation_id
: String, user session ID, generated by LangBot. It will be regenerated after the user resets the sessionmsg_create_time
: Numeric type, timestamp (seconds) when this message was received
You can customize any variable through plugins.
Other Configurations
Please refer to the descriptions in the configuration form.