feat(web): add question classifier node

This commit is contained in:
zhaoying
2026-01-04 13:51:56 +08:00
parent 351be8aaf3
commit 9dd3fc8d08
6 changed files with 117 additions and 3 deletions

View File

@@ -1553,6 +1553,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
'parameter-extractor': 'Parameter Extraction',
flowControl: 'Flow Control',
'if-else': 'Conditional Branch',
'question-classifier': 'Question Classifier',
iteration: 'Iteration',
loop: 'Loop',
parallel: 'Parallel Execution',
@@ -1664,7 +1665,18 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
"gt": '>',
"ge": '>=',
else_desc: 'Used to define the logic that should be executed when the if condition is not met.'
}
},
'question-classifier': {
model_id: 'Model',
input_variable: 'Input Variable',
categories: 'Categories',
user_supplement_prompt: 'Instruction',
class_name: 'Category',
addClassName: 'Add Category'
},
name: 'Key',
type: 'Type',
value: 'Value',
},
clear: 'Clear',

View File

@@ -1654,6 +1654,7 @@ export const zh = {
'parameter-extractor': '参数提取',
flowControl: '流程控制',
'if-else': '条件分支',
'question-classifier': '问题分类器',
iteration: '迭代 (Iteration)',
loop: '循环 (Loop)',
parallel: '并行执行',
@@ -1793,6 +1794,14 @@ export const zh = {
template: '代码',
mapping: '输入变量'
},
'question-classifier': {
model_id: '模型',
input_variable: '输入变量',
categories: '分类',
user_supplement_prompt: '指令',
class_name: '分类',
addClassName: '添加分类'
},
name: '键',
type: '类型',
value: '值',