mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
---
|
|
title: "Using Langflow with LangBot"
|
|
description: "Use Langflow with LangBot. Bring your Langflow flows to Discord, Telegram, WeChat and other IM platforms as AI bots."
|
|
---
|
|
|
|
[Langflow](https://langflow.com/) is an open-source project for building and deploying AI-based Agents and Workflows. It supports local and cloud deployment, and provides APIs for other applications to integrate.
|
|
|
|
LangBot currently supports using Langflow as the runner.
|
|
|
|
## Creating a Workflow in Langflow
|
|
|
|
Please follow the [Langflow documentation](https://langflow.com/docs/introduction) to deploy Langflow instance.
|
|
|
|
As an example of the default template's Simple Agent:
|
|
|
|

|
|
|
|
You can modify the workflow according to your needs:
|
|
|
|

|
|
|
|
## Configuring LangBot
|
|
|
|
Open the LangBot WebUI page, add a new pipeline or switch to the AI capability configuration page in an existing pipeline, and select `Langflow API` as the runner.
|
|
|
|

|
|
|
|
Fill in the other settings according to the prompts, including `Base URL` (fill in according to actual network conditions), `API Key`, `Flow ID`, etc. The API Key can be obtained from Langflow's Settings:
|
|
|
|

|
|
|
|
Flow ID can be obtained by clicking the `Share` -> `API access` button in the top right corner of the edit page and obtaining it from the example code:
|
|
|
|

|