Merge branch 'master' into feat/streaming

This commit is contained in:
Junyan Qin (Chin)
2025-08-17 14:30:22 +08:00
committed by GitHub
76 changed files with 1706 additions and 730 deletions
+22
View File
@@ -2,6 +2,8 @@ const enUS = {
common: {
login: 'Login',
logout: 'Logout',
accountOptions: 'Account',
account: 'Account',
email: 'Email',
password: 'Password',
welcome: 'Welcome back to LangBot 👋',
@@ -41,6 +43,21 @@ const enUS = {
test: 'Test',
forgotPassword: 'Forgot Password?',
loading: 'Loading...',
theme: 'Theme',
changePassword: 'Change Password',
currentPassword: 'Current Password',
newPassword: 'New Password',
confirmNewPassword: 'Confirm New Password',
enterCurrentPassword: 'Enter current password',
enterNewPassword: 'Enter new password',
enterConfirmPassword: 'Confirm new password',
currentPasswordRequired: 'Current password is required',
newPasswordRequired: 'New password is required',
confirmPasswordRequired: 'Confirm password is required',
passwordsDoNotMatch: 'Passwords do not match',
changePasswordSuccess: 'Password changed successfully',
changePasswordFailed:
'Failed to change password, please check your current password',
},
notFound: {
title: 'Page not found',
@@ -253,6 +270,11 @@ const enUS = {
today: 'Today',
kbName: 'Knowledge Base Name',
kbDescription: 'Knowledge Base Description',
topK: 'Top K',
topKRequired: 'Top K cannot be empty',
topKMax: 'Top K maximum value is 30',
topKdescription:
'Used to specify the number of relevant documents to retrieve, ranging from 1 to 30.',
defaultDescription: 'A knowledge base',
embeddingModelUUID: 'Embedding Model',
selectEmbeddingModel: 'Select Embedding Model',
+22
View File
@@ -2,6 +2,8 @@ const jaJP = {
common: {
login: 'ログイン',
logout: 'ログアウト',
accountOptions: 'アカウントオプション',
account: 'アカウント',
email: 'メールアドレス',
password: 'パスワード',
welcome: 'LangBot へおかえりなさい 👋',
@@ -42,6 +44,21 @@ const jaJP = {
test: 'テスト',
forgotPassword: 'パスワードを忘れた?',
loading: '読み込み中...',
theme: 'テーマ',
changePassword: 'パスワードを変更',
currentPassword: '現在のパスワード',
newPassword: '新しいパスワード',
confirmNewPassword: '新しいパスワードを確認',
enterCurrentPassword: '現在のパスワードを入力',
enterNewPassword: '新しいパスワードを入力',
enterConfirmPassword: '新しいパスワードを確認',
currentPasswordRequired: '現在のパスワードは必須です',
newPasswordRequired: '新しいパスワードは必須です',
confirmPasswordRequired: '新しいパスワードを確認してください',
passwordsDoNotMatch: '新しいパスワードが一致しません',
changePasswordSuccess: 'パスワードの変更に成功しました',
changePasswordFailed:
'パスワードの変更に失敗しました。現在のパスワードを確認してください',
},
notFound: {
title: 'ページが見つかりません',
@@ -255,6 +272,11 @@ const jaJP = {
today: '今日',
kbName: '知識ベース名',
kbDescription: '知識ベースの説明',
topK: 'Top K',
topKRequired: 'Top Kは必須です',
topKMax: 'Top Kの最大値は30です',
topKdescription:
'取得する関連性の高い上位K件の文書の数。1~30の範囲で設定できます',
defaultDescription: '知識ベース',
embeddingModelUUID: '埋め込みモデル',
selectEmbeddingModel: '埋め込みモデルを選択',
+20
View File
@@ -2,6 +2,8 @@ const zhHans = {
common: {
login: '登录',
logout: '退出登录',
accountOptions: '账户选项',
account: '账户',
email: '邮箱',
password: '密码',
welcome: '欢迎回到 LangBot 👋',
@@ -41,6 +43,20 @@ const zhHans = {
test: '测试',
forgotPassword: '忘记密码?',
loading: '加载中...',
theme: '主题',
changePassword: '修改密码',
currentPassword: '当前密码',
newPassword: '新密码',
confirmNewPassword: '确认新密码',
enterCurrentPassword: '输入当前密码',
enterNewPassword: '输入新密码',
enterConfirmPassword: '确认新密码',
currentPasswordRequired: '当前密码不能为空',
newPasswordRequired: '新密码不能为空',
confirmPasswordRequired: '确认密码不能为空',
passwordsDoNotMatch: '两次输入的密码不一致',
changePasswordSuccess: '密码修改成功',
changePasswordFailed: '密码修改失败,请检查当前密码是否正确',
},
notFound: {
title: '页面不存在',
@@ -248,6 +264,10 @@ const zhHans = {
today: '今天',
kbName: '知识库名称',
kbDescription: '知识库描述',
topK: '召回数量',
topKRequired: '召回数量不能为空',
topKMax: '召回数量最大值为 30',
topKdescription: '召回相关文档块的数量,取值范围为 1-30',
defaultDescription: '一个知识库',
embeddingModelUUID: '嵌入模型',
selectEmbeddingModel: '选择嵌入模型',
+32 -12
View File
@@ -2,6 +2,8 @@ const zhHant = {
common: {
login: '登入',
logout: '登出',
accountOptions: '帳戶選項',
account: '帳戶',
email: '電子郵件',
password: '密碼',
welcome: '歡迎回到 LangBot 👋',
@@ -41,6 +43,20 @@ const zhHant = {
test: '測試',
forgotPassword: '忘記密碼?',
loading: '載入中...',
theme: '主題',
changePassword: '修改密碼',
currentPassword: '當前密碼',
newPassword: '新密碼',
confirmNewPassword: '確認新密碼',
enterCurrentPassword: '輸入當前密碼',
enterNewPassword: '輸入新密碼',
enterConfirmPassword: '確認新密碼',
currentPasswordRequired: '當前密碼不能為空',
newPasswordRequired: '新密碼不能為空',
confirmPasswordRequired: '確認密碼不能為空',
passwordsDoNotMatch: '兩次輸入的密碼不一致',
changePasswordSuccess: '密碼修改成功',
changePasswordFailed: '密碼修改失敗,請檢查當前密碼是否正確',
},
notFound: {
title: '頁面不存在',
@@ -236,10 +252,10 @@ const zhHant = {
editKnowledgeBase: '編輯知識庫',
selectKnowledgeBase: '選擇知識庫',
empty: '無',
editDocument: '文',
editDocument: '文',
description: '設定可用於提升模型回覆品質的知識庫',
metadata: '中繼資料',
documents: '文',
documents: '文',
kbNameRequired: '知識庫名稱不能為空',
kbDescriptionRequired: '知識庫描述不能為空',
embeddingModelUUIDRequired: '嵌入模型不能為空',
@@ -247,6 +263,10 @@ const zhHant = {
today: '今天',
kbName: '知識庫名稱',
kbDescription: '知識庫描述',
topK: '召回數量 ',
topKRequired: '召回數量不能為空',
topKMax: '召回數量最大值為30',
topKdescription: '取得相關性高的上位 K 件文獻的數量,範圍為1~30',
defaultDescription: '一個知識庫',
embeddingModelUUID: '嵌入模型',
selectEmbeddingModel: '選擇嵌入模型',
@@ -259,29 +279,29 @@ const zhHant = {
name: '名稱',
status: '狀態',
noResults: '暫無文件',
dragAndDrop: '拖曳檔到此處或點擊上傳',
dragAndDrop: '拖曳檔到此處或點擊上傳',
uploading: '上傳中...',
supportedFormats: '支援 PDF、Word、TXT、Markdown 等文格式',
uploadSuccess: '檔上傳成功!',
uploadError: '檔上傳失敗,請重試',
uploadingFile: '上傳檔中...',
supportedFormats: '支援 PDF、Word、TXT、Markdown 等文格式',
uploadSuccess: '檔上傳成功!',
uploadError: '檔上傳失敗,請重試',
uploadingFile: '上傳檔中...',
actions: '操作',
delete: '刪除檔',
fileDeleteSuccess: '檔刪除成功',
fileDeleteFailed: '檔刪除失敗',
delete: '刪除檔',
fileDeleteSuccess: '檔刪除成功',
fileDeleteFailed: '檔刪除失敗',
processing: '處理中',
completed: '完成',
failed: '失敗',
},
deleteKnowledgeBaseConfirmation:
'您確定要刪除這個知識庫嗎?此知識庫下的所有文將被刪除。',
'您確定要刪除這個知識庫嗎?此知識庫下的所有文將被刪除。',
retrieve: '檢索測試',
retrieveTest: '檢索測試',
query: '查詢',
queryPlaceholder: '輸入查詢內容...',
distance: '距離',
content: '內容',
fileName: '檔名稱',
fileName: '檔名稱',
noResults: '暫無結果',
retrieveError: '檢索失敗',
},