chore: split ai model config locale
This commit is contained in:
@@ -37,9 +37,7 @@ const businessModules = import.meta.glob([
|
||||
'./langs/zh-CN/message.json',
|
||||
'./langs/zh-CN/permission.json',
|
||||
'./langs/zh-CN/role.json',
|
||||
'./langs/zh-CN/system-config.json',
|
||||
'./langs/zh-CN/system.json',
|
||||
'./langs/zh-CN/ui-config.json',
|
||||
'./langs/zh-CN/user.json',
|
||||
]);
|
||||
|
||||
|
||||
@@ -206,6 +206,53 @@
|
||||
"annotationThresholdTip": "相似度超过此阈值时直接返回标注答案。建议设置 0.9 以上,避免误匹配。"
|
||||
}
|
||||
},
|
||||
"modelConfig": {
|
||||
"title": "模型配置",
|
||||
"providerManagement": "提供商管理",
|
||||
"modelManagement": "模型管理",
|
||||
"addProvider": "添加提供商",
|
||||
"editProvider": "编辑提供商",
|
||||
"addModel": "添加模型",
|
||||
"editModel": "编辑模型",
|
||||
"addDefaultModels": "添加默认模型",
|
||||
"providerName": "名称",
|
||||
"providerType": "类型",
|
||||
"providerDescription": "描述",
|
||||
"descriptionPlaceholder": "请输入配置描述",
|
||||
"apiKey": "API Key",
|
||||
"apiBase": "API 地址",
|
||||
"ollamaHost": "Ollama 地址",
|
||||
"modelName": "模型名称",
|
||||
"displayName": "显示名称",
|
||||
"modelType": "模型类型",
|
||||
"maxTokens": "最大 Token",
|
||||
"supportsVision": "支持视觉",
|
||||
"supportsFunction": "支持函数",
|
||||
"enabled": "启用",
|
||||
"status": "状态",
|
||||
"operation": "操作",
|
||||
"test": "测试",
|
||||
"selectProvider": "选择提供商",
|
||||
"chatModel": "对话模型",
|
||||
"embeddingModel": "向量模型",
|
||||
"completionModel": "补全模型",
|
||||
"rerankModel": "重排序模型",
|
||||
"chat": "对话",
|
||||
"embedding": "向量",
|
||||
"rerank": "重排序",
|
||||
"addSelected": "添加选中",
|
||||
"noDefaultModels": "暂无默认模型",
|
||||
"addedModels": "已添加模型",
|
||||
"availableModels": "可选模型",
|
||||
"addAll": "全部添加",
|
||||
"added": "已添加",
|
||||
"refreshModels": "刷新模型",
|
||||
"sourceApi": "在线拉取",
|
||||
"sourceDefault": "默认列表",
|
||||
"fetchFromApiSuccess": "已从提供商 API 拉取最新模型列表",
|
||||
"fetchFromApiFallback": "在线拉取失败,已使用默认模型列表",
|
||||
"searchModel": "搜索模型"
|
||||
},
|
||||
"conversation": {
|
||||
"history": "历史记录",
|
||||
"new": "新对话",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { Page } from '@vben/common-ui';
|
||||
|
||||
import ModelConfigForm from '#/views/_core/system-config/modules/model-config-form.vue';
|
||||
import ModelConfigForm from './model-config-form.vue';
|
||||
|
||||
defineOptions({ name: 'AIModelConfig' });
|
||||
</script>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user