Skip to content

Commit ec77948

Browse files
committed
fix: add tooltips for Text-to-Video and Image-to-Video model types in CreateModelDialog
1 parent e9156f7 commit ec77948

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

ui/src/locales/lang/en-US/views/model.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ export default {
6767
'Vision Model: A visual model used for image understanding in advanced orchestration APP.',
6868
tooltip7:
6969
'Image Generation: A visual model used for image generation in advanced orchestration APP.',
70+
tooltip8:
71+
'Text-to-Video: A visual model used for text-to-video in the APP.',
72+
tooltip9:
73+
'Image-to-Video: A visual model used for image-to-video in the APP.',
7074
requiredMessage: 'Model type cannot be empty',
7175
},
7276
base_model: {

ui/src/locales/lang/zh-CN/views/model.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export default {
6262
tooltip5: '重排模型:在高级编排应用中使用多路召回时,对候选分段进行重新排序的模型。',
6363
tooltip6: '视觉模型:在高级编排应用中用于图片理解的视觉模型。',
6464
tooltip7: '图片生成:在高级编排应用中用于图片生成的视觉模型。',
65+
tooltip8: '文生视频:在高级编排应用中用于文生视频的模型。',
66+
tooltip9: '图生视频:在高级编排应用中用于图生视频的模型。',
6567
requiredMessage: '模型类型不能为空',
6668
},
6769
base_model: {

ui/src/locales/lang/zh-Hant/views/model.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export default {
6262
tooltip5: '重排模型:在高階編排應用中使用多路召回時,對候選分段進行重新排序的模型。',
6363
tooltip6: '圖片理解:在高階編排應用中用於圖片理解的視覺模型。',
6464
tooltip7: '圖片生成:在高階編排應用中用於圖片生成的視覺模型。',
65+
tooltip8: '文生視頻:在高階編排應用中用於文生視頻的模型。',
66+
tooltip9: '圖生視頻:在高階編排應用中用於圖生視頻的模型。',
6567
requiredMessage: '模型類型不能為空',
6668
},
6769
base_model: {

ui/src/views/model/component/CreateModelDialog.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
<p>{{ $t('views.model.modelForm.model_type.tooltip5') }}</p>
7070
<p>{{ $t('views.model.modelForm.model_type.tooltip6') }}</p>
7171
<p>{{ $t('views.model.modelForm.model_type.tooltip7') }}</p>
72+
<p>{{ $t('views.model.modelForm.model_type.tooltip8') }}</p>
73+
<p>{{ $t('views.model.modelForm.model_type.tooltip9') }}</p>
7274
</template>
7375
<AppIcon iconName="app-warning" class="app-warning-icon"></AppIcon>
7476
</el-tooltip>
@@ -139,7 +141,7 @@
139141
<el-empty
140142
v-else-if="
141143
base_form_data.model_type === 'RERANKER' ||
142-
base_form_data.model_type === 'EMBEDDING'
144+
base_form_data.model_type === 'EMBEDDING'
143145
"
144146
:description="$t('views.model.tip.emptyMessage2')"
145147
/>

0 commit comments

Comments
 (0)