mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 09:01:09 +03:00
7924fbce0d
* agent flow v2 * chat message background * conditon agent flow * add sticky note * update human input dynamic prompt * add HTTP node * add default tool icon * fix export duplicate agentflow v2 * add agentflow v2 marketplaces * refractor memoization, add iteration nodes * add agentflow v2 templates * add agentflow generator * add migration scripts for mysql, mariadb, posrgres and fix date filters for executions * update agentflow chat history config * fix get all flows error after deletion and rename * add previous nodes from parent node * update generator prompt * update run time state when using iteration nodes * prevent looping connection, prevent duplication of start node, add executeflow node, add nodes agentflow, chat history variable * update embed * convert form input to string * bump openai version * add react rewards * add prompt generator to prediction queue * add array schema to overrideconfig * UI touchup * update embedded chat version * fix node info dialog * update start node and loop default iteration * update UI fixes for agentflow v2 * fix async drop down * add export import to agentflowsv2, executions, fix UI bugs * add default empty object to flowlisttable * add ability to share trace link publicly, allow MCP tool use for Agent and Assistant * add runtime message length to variable, display conditions on UI * fix array validation * add ability to add knowledge from vector store and embeddings for agent * add agent tool require human input * add ephemeral memory to start node * update agent flow node to show vs and embeddings icons * feat: add import chat data functionality for AgentFlowV2 * feat: set chatMessage.executionId to null if not found in import JSON file or database * fix: MariaDB execution migration script to utf8mb4_unicode_520_ci --------- Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com> Co-authored-by: chungyau97 <chungyau97@gmail.com>
6.2 KiB
6.2 KiB
English | 繁體中文 | 简体中文 | 日本語 | 한국어
可视化构建 AI/LLM 流程
⚡ 快速入门
下载并安装 NodeJS >= 18.15.0
-
安装 Flowise
npm install -g flowise -
启动 Flowise
npx flowise start使用用户名和密码
npx flowise start --FLOWISE_USERNAME=user --FLOWISE_PASSWORD=1234
🐳 Docker
Docker Compose
- 进入项目根目录下的
docker文件夹 - 创建
.env文件并指定PORT(参考.env.example) - 运行
docker compose up -d - 打开 http://localhost:3000
- 可以通过
docker compose stop停止容器
Docker 镜像
-
本地构建镜像:
docker build --no-cache -t flowise . -
运行镜像:
docker run -d --name flowise -p 3000:3000 flowise -
停止镜像:
docker stop flowise
👨💻 开发者
Flowise 在一个单一的代码库中有 3 个不同的模块。
server:用于提供 API 逻辑的 Node 后端ui:React 前端components:第三方节点集成
先决条件
- 安装 PNPM
npm i -g pnpm
设置
-
克隆仓库
git clone https://github.com/FlowiseAI/Flowise.git -
进入仓库文件夹
cd Flowise -
安装所有模块的依赖:
pnpm install -
构建所有代码:
pnpm build -
启动应用:
pnpm start现在可以在 http://localhost:3000 访问应用
-
用于开发构建:
-
在
packages/ui中创建.env文件并指定VITE_PORT(参考.env.example) -
在
packages/server中创建.env文件并指定PORT(参考.env.example) -
运行
pnpm dev
任何代码更改都会自动重新加载应用程序,访问 http://localhost:8080
-
🔒 认证
要启用应用程序级身份验证,在 packages/server 的 .env 文件中添加 FLOWISE_USERNAME 和 FLOWISE_PASSWORD:
FLOWISE_USERNAME=user
FLOWISE_PASSWORD=1234
🌱 环境变量
Flowise 支持不同的环境变量来配置您的实例。您可以在 packages/server 文件夹中的 .env 文件中指定以下变量。了解更多信息,请阅读文档
📖 文档
🌐 自托管
在您现有的基础设施中部署自托管的 Flowise,我们支持各种部署
☁️ 云托管
🙋 支持
在讨论区中随时提问、提出问题和请求新功能
🙌 贡献
感谢这些了不起的贡献者
参见贡献指南。如果您有任何问题或问题,请在Discord上与我们联系。
📄 许可证
此代码库中的源代码在Apache License Version 2.0 许可证下提供。

