-
+
@@ -263,12 +252,12 @@ function removeNodeById(list: TreeNode[], targetId: string): boolean {
class="mk-hide-asterisk"
:required="formValue.required"
prop="default_value"
- :rules="formValue.required ? [{ required: true, message: t('common.form.inputField', { fieldName: t('dynamicForm.fields.defaultValue') }) }] : []"
+ :rules="formValue.required ? [{ required: true, message: '请输入默认值' }] : []"
>
- {{ t('dynamicForm.fields.defaultValue') }}
-
+ 默认值
+
-
+
-
-
+
+
-
-
+
+
- {{ t('common.actions.cancel') }}
- {{ t('common.actions.add') }}
+ 取消
+ 添加
@@ -309,22 +294,22 @@ function removeNodeById(list: TreeNode[], targetId: string): boolean {
:close-on-click-modal="true"
:close-on-press-escape="true"
v-model="editDialog.visible"
- :title="t('common.actions.edit')"
+ title="编辑"
@closed="handleEditClosed"
>
-
-
+
+
-
-
+
+
- {{ t('common.actions.cancel') }}
- {{ t('common.actions.save') }}
+ 取消
+ 保存
diff --git a/ui/src/components/mk-dynamics-form/constructor/items/UploadInputConstructor.vue b/ui/src/components/mk-dynamics-form/constructor/items/UploadInputConstructor.vue
index 462e682a0d6..4ad1d0199d5 100644
--- a/ui/src/components/mk-dynamics-form/constructor/items/UploadInputConstructor.vue
+++ b/ui/src/components/mk-dynamics-form/constructor/items/UploadInputConstructor.vue
@@ -1,10 +1,7 @@
-
+
-
+
-
+
diff --git a/ui/src/components/mk-dynamics-form/constructor/visibility/ConditionRow.vue b/ui/src/components/mk-dynamics-form/constructor/visibility/ConditionRow.vue
index 96c794979d9..12599de14da 100644
--- a/ui/src/components/mk-dynamics-form/constructor/visibility/ConditionRow.vue
+++ b/ui/src/components/mk-dynamics-form/constructor/visibility/ConditionRow.vue
@@ -1,12 +1,9 @@
+
-
+
diff --git a/ui/src/components/mk-dynamics-form/items/TextInput.vue b/ui/src/components/mk-dynamics-form/items/TextInput.vue
index 900eac2fb4d..701deefef5b 100644
--- a/ui/src/components/mk-dynamics-form/items/TextInput.vue
+++ b/ui/src/components/mk-dynamics-form/items/TextInput.vue
@@ -1,9 +1,5 @@
-
+
-
+
diff --git a/ui/src/components/mk-dynamics-form/items/TextareaInput.vue b/ui/src/components/mk-dynamics-form/items/TextareaInput.vue
index 20fa4c4ffbc..aa1a8b76c0b 100644
--- a/ui/src/components/mk-dynamics-form/items/TextareaInput.vue
+++ b/ui/src/components/mk-dynamics-form/items/TextareaInput.vue
@@ -1,9 +1,5 @@
-
+
-
+
diff --git a/ui/src/components/mk-dynamics-form/items/complex/ArrayObjectCard.vue b/ui/src/components/mk-dynamics-form/items/complex/ArrayObjectCard.vue
index 2c369249fd1..963be2661df 100644
--- a/ui/src/components/mk-dynamics-form/items/complex/ArrayObjectCard.vue
+++ b/ui/src/components/mk-dynamics-form/items/complex/ArrayObjectCard.vue
@@ -1,11 +1,8 @@
-
+
- {{ t('common.actions.cancel') }}
+ 取消
- {{ editing ? t('common.actions.save') : t('common.actions.add') }}
+ {{ editing ? '保存' : '添加' }}
diff --git a/ui/src/views/model/components/ModelProvider.vue b/ui/src/views/model/components/ModelProvider.vue
index f4db538cd2b..8f2481b281f 100644
--- a/ui/src/views/model/components/ModelProvider.vue
+++ b/ui/src/views/model/components/ModelProvider.vue
@@ -1,15 +1,12 @@
-
+
-
{{ t('model.actions.addModel') }}
+ 添加模型
-
-
+
+
@@ -280,8 +277,8 @@ defineExpose({ open })
-
-
+
+
@@ -311,13 +308,13 @@ defineExpose({ open })
- {{ t('model.form.name.label') }}
+ 模型名称
-
+
@@ -325,57 +322,49 @@ defineExpose({ open })
-
+
- {{ t('model.form.type.label') }}
+ 模型类型
- {{ t('model.types.llm.description') }}
- {{ t('model.types.embedding.description') }}
- {{ t('model.types.speechToText.description') }}
- {{ t('model.types.textToSpeech.description') }}
- {{ t('model.types.reranker.description') }}
- {{ t('model.types.vision.description') }}
- {{ t('model.types.imageGeneration.description') }}
- {{ t('model.types.textToVideo.description') }}
- {{ t('model.types.imageToVideo.description') }}
+ 大语言模型:在智能体中与AI对话的推理模型。
+ 向量模型:在知识库中对文档内容进行向量化的模型。
+ 语音识别:在智能体中开启语音识别后用于语音转文字的模型。
+ 语音合成:在智能体中开启语音播放后用于文字转语音的模型。
+ 重排模型:在高级智能体中使用多路召回时,对候选分段进行重新排序的模型。
+ 视觉模型:在高级智能体中用于图片理解的视觉模型。
+ 图片生成:在高级智能体中用于图片生成的视觉模型。
+ 文生视频:在高级智能体中用于文生视频的模型。
+ 图生视频:在高级智能体中用于图生视频的模型。
-
+
+
- {{ t('model.form.baseModel.label') }}
- {{ t('model.form.baseModel.description') }}
+ 基础模型
+ 列表中未列出的模型,直接输入模型名称,回车即可添加
- {{ t('model.actions.fetchModels') }}
+ 获取模型
@@ -397,7 +386,7 @@ defineExpose({ open })
default-first-option
filterable
:loading="baseModelLoading"
- :placeholder="t('model.form.baseModel.placeholder')"
+ placeholder="请先点击「获取模型」加载列表,或直接输入模型名称后回车"
@change="handleBaseModelChange"
>
@@ -423,15 +412,15 @@ defineExpose({ open })
trigger-class="mb-3 w-fit"
>
- {{ t('common.titles.advancedSettings') }}
+ 高级设置
diff --git a/ui/src/views/model/create-model/SelectProviderDrawer.vue b/ui/src/views/model/create-model/SelectProviderDrawer.vue
index a76a036dfda..5fa4d8b82a8 100644
--- a/ui/src/views/model/create-model/SelectProviderDrawer.vue
+++ b/ui/src/views/model/create-model/SelectProviderDrawer.vue
@@ -1,5 +1,4 @@