feat(i18n): update WeKnoraCloud integration and enhance model management
- Revised usage steps in English, Korean, Russian, and Chinese localization files for clarity on saving credentials and adding cloud models. - Introduced a new section in WeKnoraCloudSettings.vue to display the status of cloud model integration based on credential configuration. - Added utility functions for managing WeKnoraCloud models, including model configuration and existing model checks. - Enhanced ModelSettings.vue to improve model management actions and confirm deletion prompts. - Implemented logic to handle adding cloud models with success and failure notifications.
This commit is contained in:
@@ -1041,7 +1041,7 @@ export default {
|
||||
saveHint: "保存后将验证服务可达性并加密存储凭证",
|
||||
saveBtn: "保存凭证",
|
||||
usageTitle: "使用说明",
|
||||
usageSteps: "1. 在此页面填写并保存 APPID 和 APPSECRET\n2. 模型服务:前往「模型管理」添加模型,选择 Remote API 来源,厂商选择「WeKnoraCloud」\n3. 文档解析:前往「知识库设置 → 解析引擎」,为对应文件类型选择「WeKnora Cloud」引擎",
|
||||
usageSteps: "1. 填写并保存 APPID / APPSECRET\n2. 在下方「云模型接入」中按行添加 chat、embedding、rerank、vlm\n3. 文档解析:知识库设置 → 解析引擎,选择 WeKnora Cloud 引擎",
|
||||
fillRequired: "请填写 APPID 和 APPSECRET",
|
||||
saveSuccess: "凭证保存成功",
|
||||
saveFailed: "凭证保存失败",
|
||||
@@ -1052,6 +1052,30 @@ export default {
|
||||
goToSettings: "前往设置中配置",
|
||||
modelHintConfigured: "WeKnoraCloud 凭证已配置。支持的模型可参考",
|
||||
modelHintDocsLink: "接口文档",
|
||||
modelsSection: {
|
||||
title: "云模型接入",
|
||||
descReady: "将 WeKnora Cloud 提供的四类标准模型注册到当前空间,用于对话、向量检索、重排序与多模态理解。",
|
||||
descPending: "请先保存上方凭证,再在此添加云模型。",
|
||||
statusAdded: "已添加",
|
||||
statusPending: "待配置凭证",
|
||||
addOne: "添加",
|
||||
addAllBtn: "添加全部缺失({count})",
|
||||
addAllConfirm: "确认添加",
|
||||
confirmAddOne: "添加 {type} 模型「{name}」?",
|
||||
confirmAddAll: "一次性添加 {count} 个缺失的云模型?",
|
||||
allReady: "四类云模型均已就绪",
|
||||
},
|
||||
addModelsSuccess: "已成功添加 {count} 个模型",
|
||||
addModelsPartial: "已添加 {success} 个,{failed} 个失败",
|
||||
addModelsFailed: "添加模型失败",
|
||||
addModelsAllExist: "四类模型均已存在",
|
||||
addModelsEmbeddingFailed: "Embedding 模型连接测试失败,无法获取向量维度",
|
||||
addModelsDisplayName: {
|
||||
chat: "WeKnoraCloud 对话",
|
||||
embedding: "WeKnoraCloud Embedding",
|
||||
rerank: "WeKnoraCloud ReRank",
|
||||
vllm: "WeKnoraCloud 视觉",
|
||||
},
|
||||
},
|
||||
system: "系统设置",
|
||||
systemConfig: "系统配置",
|
||||
@@ -4009,7 +4033,7 @@ export default {
|
||||
viewGuide: "查看内置模型管理指南",
|
||||
},
|
||||
builtinTag: "内置",
|
||||
confirmDelete: "确定删除此模型吗?",
|
||||
confirmDelete: "确定删除模型「{name}」吗?",
|
||||
},
|
||||
// 新增:Ollama 设置
|
||||
ollamaSettings: {
|
||||
|
||||
Reference in New Issue
Block a user