mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
* 重构文档结构:移除 docs 目录,调整文件组织结构 * Reorder "插件 SDK API" section in docs.json * Refactor and clarify various documentation sections * Refine warnings and info boxes across multiple docs * Refactor and simplify Japanese documentation content * Update package.json to include mintlify as a dependency and add pnpm-lock.yaml for dependency management * Update blog link and add description in docs.json --------- Co-authored-by: Junyan Chin <[email protected]>
34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
---
|
|
title: "Using Langflow with LangBot"
|
|
---
|
|
|
|
[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:
|
|
|
|

|