mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 05:01:07 +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>
7.0 KiB
7.0 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
- 克隆 Flowise 項目
- 進入項目根目錄的
docker文件夾 - 複製
.env.example文件,粘貼到相同位置,並重命名為.env文件 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 在單個 mono 存儲庫中有 3 個不同的模塊。
server: 提供 API 邏輯的 Node 後端ui: React 前端components: 第三方節點集成api-documentation: 從 express 自動生成的 swagger-ui API 文檔
先決條件
- 安裝 PNPM
npm i -g pnpm
設置
-
克隆存儲庫
git clone https://github.com/FlowiseAI/Flowise.git -
進入存儲庫文件夾
cd Flowise -
安裝所有模塊的所有依賴項:
pnpm install -
構建所有代碼:
pnpm build退出代碼 134(JavaScript 堆內存不足)
如果在運行上述 `build` 腳本時遇到此錯誤,請嘗試增加 Node.js 堆大小並重新運行腳本:export NODE_OPTIONS="--max-old-space-size=4096" 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 自我托管,我們支持各種 部署
☁️ Flowise 雲
🙋 支持
隨時在 討論 中提出任何問題、提出問題和請求新功能
🙌 貢獻
感謝這些出色的貢獻者
請參閱 貢獻指南。如果您有任何問題或問題,請通過 Discord 與我們聯繫。
📄 許可證
此存儲庫中的源代碼根據 Apache 許可證版本 2.0 提供。

