{
diff --git a/web/app/components/billing/apps-full-in-dialog/index.tsx b/web/app/components/billing/apps-full-in-dialog/index.tsx
index b721b94b01..fda3213713 100644
--- a/web/app/components/billing/apps-full-in-dialog/index.tsx
+++ b/web/app/components/billing/apps-full-in-dialog/index.tsx
@@ -21,7 +21,7 @@ const AppsFull: FC<{ loc: string; className?: string; }> = ({
}) => {
const { t } = useTranslation()
const { plan } = useProviderContext()
- const { userProfile, langeniusVersionInfo } = useAppContext()
+ const { userProfile, langGeniusVersionInfo } = useAppContext()
const isTeam = plan.type === Plan.team
const usage = plan.usage.buildApps
const total = plan.total.buildApps
@@ -62,7 +62,7 @@ const AppsFull: FC<{ loc: string; className?: string; }> = ({
)}
{plan.type !== Plan.sandbox && plan.type !== Plan.professional && (
diff --git a/web/app/components/browser-initor.tsx b/web/app/components/browser-initializer.tsx
similarity index 88%
rename from web/app/components/browser-initor.tsx
rename to web/app/components/browser-initializer.tsx
index f2f4b02dc0..fcae22c448 100644
--- a/web/app/components/browser-initor.tsx
+++ b/web/app/components/browser-initializer.tsx
@@ -43,10 +43,10 @@ Object.defineProperty(globalThis, 'sessionStorage', {
value: sessionStorage,
})
-const BrowserInitor = ({
+const BrowserInitializer = ({
children,
-}: { children: React.ReactNode }) => {
+}: { children: React.ReactElement }) => {
return children
}
-export default BrowserInitor
+export default BrowserInitializer
diff --git a/web/app/components/datasets/list/template/template.ja.mdx b/web/app/components/datasets/list/template/template.ja.mdx
index 23f78b5d7d..6c0e20e1bb 100644
--- a/web/app/components/datasets/list/template/template.ja.mdx
+++ b/web/app/components/datasets/list/template/template.ja.mdx
@@ -83,7 +83,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
-
subchunk_segmentation (object) 子チャンクルール
-
separator セグメンテーション識別子。現在は 1 つの区切り文字のみ許可。デフォルトは
***
-
max_tokens 最大長 (トークン) は親チャンクの長さより短いことを検証する必要があります
- -
chunk_overlap 隣接するチャンク間の重複を定義 (オプション)
+ -
chunk_overlap 隣接するチャンク間の重なりを定義 (オプション)
ナレッジベースにパラメータが設定されていない場合、最初のアップロードには以下のパラメータを提供する必要があります。提供されない場合、デフォルトパラメータが使用されます。
@@ -218,7 +218,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
- subchunk_segmentation (object) 子チャンクルール
- separator セグメンテーション識別子。現在は 1 つの区切り文字のみ許可。デフォルトは ***
- max_tokens 最大長 (トークン) は親チャンクの長さより短いことを検証する必要があります
- - chunk_overlap 隣接するチャンク間の重複を定義 (オプション)
+ - chunk_overlap 隣接するチャンク間の重なりを定義 (オプション)
アップロードする必要があるファイル。
@@ -555,7 +555,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
- subchunk_segmentation (object) 子チャンクルール
- separator セグメンテーション識別子。現在は 1 つの区切り文字のみ許可。デフォルトは ***
- max_tokens 最大長 (トークン) は親チャンクの長さより短いことを検証する必要があります
- - chunk_overlap 隣接するチャンク間の重複を定義 (オプション)
+ - chunk_overlap 隣接するチャンク間の重なりを定義 (オプション)
@@ -657,7 +657,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
-
subchunk_segmentation (object) 子チャンクルール
-
separator セグメンテーション識別子。現在は 1 つの区切り文字のみ許可。デフォルトは
***
-
max_tokens 最大長 (トークン) は親チャンクの長さより短いことを検証する必要があります
- -
chunk_overlap 隣接するチャンク間の重複を定義 (オプション)
+ -
chunk_overlap 隣接するチャンク間の重なりを定義 (オプション)
diff --git a/web/app/components/develop/template/template_workflow.zh.mdx b/web/app/components/develop/template/template_workflow.zh.mdx
index fc193de5da..42922610da 100644
--- a/web/app/components/develop/template/template_workflow.zh.mdx
+++ b/web/app/components/develop/template/template_workflow.zh.mdx
@@ -333,7 +333,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
根据 workflow 执行 ID 获取 workflow 任务当前执行结果
### Path
- - `workflow_run_id` (string) workflow_run_id,可在流式返回 Chunk 中获取
+ - `workflow_run_id` (string) workflow 执行 ID,可在流式返回 Chunk 中获取
### Response
- `id` (string) workflow 执行 ID
- `workflow_id` (string) 关联的 Workflow ID
diff --git a/web/app/components/header/account-about/index.tsx b/web/app/components/header/account-about/index.tsx
index 280e276be9..2eb8cdf82f 100644
--- a/web/app/components/header/account-about/index.tsx
+++ b/web/app/components/header/account-about/index.tsx
@@ -12,16 +12,16 @@ import { noop } from 'lodash-es'
import { useGlobalPublicStore } from '@/context/global-public-context'
type IAccountSettingProps = {
- langeniusVersionInfo: LangGeniusVersionResponse
+ langGeniusVersionInfo: LangGeniusVersionResponse
onCancel: () => void
}
export default function AccountAbout({
- langeniusVersionInfo,
+ langGeniusVersionInfo,
onCancel,
}: IAccountSettingProps) {
const { t } = useTranslation()
- const isLatest = langeniusVersionInfo.current_version === langeniusVersionInfo.latest_version
+ const isLatest = langGeniusVersionInfo.current_version === langGeniusVersionInfo.latest_version
const systemFeatures = useGlobalPublicStore(s => s.systemFeatures)
return (
@@ -43,7 +43,7 @@ export default function AccountAbout({
/>
:
}
-
Version {langeniusVersionInfo?.current_version}
+
Version {langGeniusVersionInfo?.current_version}
© {dayjs().year()} LangGenius, Inc., Contributors.
@@ -63,8 +63,8 @@ export default function AccountAbout({
{
isLatest
- ? t('common.about.latestAvailable', { version: langeniusVersionInfo.latest_version })
- : t('common.about.nowAvailable', { version: langeniusVersionInfo.latest_version })
+ ? t('common.about.latestAvailable', { version: langGeniusVersionInfo.latest_version })
+ : t('common.about.nowAvailable', { version: langGeniusVersionInfo.latest_version })
}
@@ -80,7 +80,7 @@ export default function AccountAbout({
!isLatest && !IS_CE_EDITION && (
@@ -217,7 +217,7 @@ export default function AppSelector() {
}
{
- aboutVisible &&
setAboutVisible(false)} langeniusVersionInfo={langeniusVersionInfo} />
+ aboutVisible && setAboutVisible(false)} langGeniusVersionInfo={langGeniusVersionInfo} />
}
)
diff --git a/web/app/components/header/account-dropdown/support.tsx b/web/app/components/header/account-dropdown/support.tsx
index e4731d2b6e..6435bcaeb4 100644
--- a/web/app/components/header/account-dropdown/support.tsx
+++ b/web/app/components/header/account-dropdown/support.tsx
@@ -16,7 +16,7 @@ export default function Support() {
`
const { t } = useTranslation()
const { plan } = useProviderContext()
- const { userProfile, langeniusVersionInfo } = useAppContext()
+ const { userProfile, langGeniusVersionInfo } = useAppContext()
const canEmailSupport = plan.type === Plan.professional || plan.type === Plan.team || plan.type === Plan.enterprise
return