Skip to content

Commit

Permalink
update wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryHengZJ committed Feb 19, 2024
1 parent 13c97d2 commit 6c1f0f7
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 13 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

不确定要贡献什么?一些想法:

-Langchain 创建新组件
-`packages/components` 创建新组件
- 更新现有组件,如扩展功能、修复错误
- 添加新的 Chatflow 想法

Expand All @@ -40,7 +40,7 @@ Flowise 在一个单一的单体存储库中有 3 个不同的模块。

- `server`:用于提供 API 逻辑的 Node 后端
- `ui`:React 前端
- `components`:Langchain 组件
- `components`:Langchain/LlamaIndex 组件

#### 先决条件

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Flowise 在一个单一的代码库中有 3 个不同的模块。

- `server`:用于提供 API 逻辑的 Node 后端
- `ui`:React 前端
- `components`Langchain 组件
- `components`第三方节点集成

### 先决条件

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions packages/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
import {
getNodeModulesPackagePath,
getStartingNodes,
buildLangchain,
buildFlow,
getEndingNodes,
constructGraphs,
resolveVariables,
Expand Down Expand Up @@ -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)
}

Expand Down Expand Up @@ -1570,7 +1570,7 @@ export class App {

const { startingNodeIds, depthQueue } = getStartingNodes(filteredGraph, stopNodeId)

await buildLangchain(
await buildFlow(
startingNodeIds,
nodes,
edges,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[],
Expand Down
10 changes: 8 additions & 2 deletions packages/ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@
<meta property="og:site_name" content="flowiseai.com" />
<meta property="article:publisher" content="https://www.facebook.com/codedthemes" />
<meta property="og:title" content="Flowise - Low-code LLM apps builder" />
<meta property="og:description" content="Flowise helps you to better build LLM flows using Langchain in simple GUI" />
<meta
property="og:description"
content="Build customized LLM orchestration flow & agents, enable quick iterations from testing to production"
/>
<meta property="og:image" content="https://flowiseai.com/og-image/og-facebook.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://flowiseai.com" />
<meta property="twitter:title" content="Flowise - Low-code LLM apps builder" />
<meta property="twitter:description" content="Flowise helps you to better build LLM flows using Langchain in simple GUI" />
<meta
property="twitter:description"
content="Build customized LLM orchestration flow & agents, enable quick iterations from testing to production"
/>
<meta property="twitter:image" content="https://flowiseai.com/og-image/og-twitter.png" />
<meta name="twitter:creator" content="@codedthemes" />
<!--
Expand Down

0 comments on commit 6c1f0f7

Please sign in to comment.