diff --git a/CONTRIBUTING-ZH.md b/CONTRIBUTING-ZH.md
index e000da4fd0c..25f48387f45 100644
--- a/CONTRIBUTING-ZH.md
+++ b/CONTRIBUTING-ZH.md
@@ -30,7 +30,7 @@
不确定要贡献什么?一些想法:
-- 从 Langchain 创建新组件
+- 从 `packages/components` 创建新组件
- 更新现有组件,如扩展功能、修复错误
- 添加新的 Chatflow 想法
@@ -40,7 +40,7 @@ Flowise 在一个单一的单体存储库中有 3 个不同的模块。
- `server`:用于提供 API 逻辑的 Node 后端
- `ui`:React 前端
-- `components`:Langchain 组件
+- `components`:Langchain/LlamaIndex 组件
#### 先决条件
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fdeb848be30..57fee8fc89c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -30,7 +30,7 @@ Found an issue? [Report it](https://github.com/FlowiseAI/Flowise/issues/new/choo
Not sure what to contribute? Some ideas:
-- Create new components from Langchain
+- Create new components from `packages/components`
- Update existing components such as extending functionality, fixing bugs
- Add new chatflow ideas
@@ -40,7 +40,7 @@ Flowise has 3 different modules in a single mono repository.
- `server`: Node backend to serve API logics
- `ui`: React frontend
-- `components`: Langchain components
+- `components`: Third-party nodes integrations
#### Prerequisite
diff --git a/README-ZH.md b/README-ZH.md
index 8750ebc7fc3..b6f389ed5d5 100644
--- a/README-ZH.md
+++ b/README-ZH.md
@@ -71,7 +71,7 @@ Flowise 在一个单一的代码库中有 3 个不同的模块。
- `server`:用于提供 API 逻辑的 Node 后端
- `ui`:React 前端
-- `components`:Langchain 组件
+- `components`:第三方节点集成
### 先决条件
diff --git a/README.md b/README.md
index 3e6b7e5610c..438647e81b0 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ Flowise has 3 different modules in a single mono repository.
- `server`: Node backend to serve API logics
- `ui`: React frontend
-- `components`: Langchain components
+- `components`: Third-party nodes integrations
### Prerequisite
diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts
index 6ddaa4840bc..20102a42a57 100644
--- a/packages/server/src/index.ts
+++ b/packages/server/src/index.ts
@@ -26,7 +26,7 @@ import {
import {
getNodeModulesPackagePath,
getStartingNodes,
- buildLangchain,
+ buildFlow,
getEndingNodes,
constructGraphs,
resolveVariables,
@@ -441,7 +441,7 @@ export class App {
// chatFlowPool is initialized only when a flow is opened
// if the user attempts to rename/update category without opening any flow, chatFlowPool will be undefined
if (this.chatflowPool) {
- // Update chatflowpool inSync to false, to build Langchain again because data has been changed
+ // Update chatflowpool inSync to false, to build flow from scratch again because data has been changed
this.chatflowPool.updateInSync(chatflow.id, false)
}
@@ -1570,7 +1570,7 @@ export class App {
const { startingNodeIds, depthQueue } = getStartingNodes(filteredGraph, stopNodeId)
- await buildLangchain(
+ await buildFlow(
startingNodeIds,
nodes,
edges,
@@ -1787,7 +1787,7 @@ export class App {
logger.debug(`[server]: Start building chatflow ${chatflowid}`)
/*** BFS to traverse from Starting Nodes to Ending Node ***/
- const reactFlowNodes = await buildLangchain(
+ const reactFlowNodes = await buildFlow(
startingNodeIds,
nodes,
edges,
diff --git a/packages/server/src/utils/index.ts b/packages/server/src/utils/index.ts
index 421a15ece96..4f222151223 100644
--- a/packages/server/src/utils/index.ts
+++ b/packages/server/src/utils/index.ts
@@ -263,7 +263,7 @@ export const getEndingNodes = (nodeDependencies: INodeDependencies, graph: INode
* @param {ICommonObject} overrideConfig
* @param {CachePool} cachePool
*/
-export const buildLangchain = async (
+export const buildFlow = async (
startingNodeIds: string[],
reactFlowNodes: IReactFlowNode[],
reactFlowEdges: IReactFlowEdge[],
diff --git a/packages/ui/public/index.html b/packages/ui/public/index.html
index b4ec9ea105a..61fd6fe53dd 100644
--- a/packages/ui/public/index.html
+++ b/packages/ui/public/index.html
@@ -18,13 +18,19 @@
-
+
-
+