Skip to content

Commit 6c0d094

Browse files
committed
feat: add video understanding node with multilingual support
1 parent 3ae4401 commit 6c0d094

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,19 @@ You are a master of problem optimization, adept at accurately inferring user int
298298
requiredMessage: 'Please select an image',
299299
},
300300
},
301+
videoUnderstandNode: {
302+
label: 'Video Understanding',
303+
text: 'Identify objects, scenes, and other information in videos to answer user questions',
304+
answer: 'AI Response Content',
305+
model: {
306+
label: 'Vision Model',
307+
requiredMessage: 'Please select a vision model',
308+
},
309+
image: {
310+
label: 'Select Video',
311+
requiredMessage: 'Please select a video',
312+
},
313+
},
301314
variableAssignNode: {
302315
label: 'Variable Assign',
303316
text: 'Update the value of the global variable',

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

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,19 @@ export default {
284284
title1: '分段標題設置為分段的關聯問題',
285285
title2: '文檔名稱設置為分段的關聯問題',
286286
},
287+
videoUnderstandNode: {
288+
label: '视频理解',
289+
text: '识别出视频中的对象、场景等信息回答用户问题',
290+
answer: 'AI 回答内容',
291+
model: {
292+
label: '视觉模型',
293+
requiredMessage: '请选择视觉模型',
294+
},
295+
image: {
296+
label: '选择视频',
297+
requiredMessage: '请选择视频',
298+
},
299+
},
287300
imageUnderstandNode: {
288301
label: '圖片理解',
289302
text: '識別出圖片中的物件、場景等信息回答用戶問題',
@@ -456,13 +469,13 @@ export default {
456469
loopIndex: '下標',
457470
loopItem: '循環元素',
458471
},
459-
loopBodyNode: { label: '循環體', text: '循環體' },
472+
loopBodyNode: {label: '循環體', text: '循環體'},
460473
loopContinueNode: {
461474
label: 'Continue',
462475
text: '用於終止當前循環,執行下次循環',
463476
isContinue: 'Continue',
464477
},
465-
loopBreakNode: { label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break' },
478+
loopBreakNode: {label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break'},
466479
variableSplittingNode: {
467480
label: '變量拆分',
468481
text: '通過配置 JSON Path 表達式,對輸入的 JSON 格式變量進行解析和拆分',

0 commit comments

Comments
 (0)