Merge #83 into develop_web from feature/20251219_zy

feat(web): add parameter-extractor、if-else、var-aggregator Node

* feature/20251219_zy: (4 commits)
  doc: update version
  doc: update zh.ts
  fix(web): fix neo4j user memory refresh
  feat(web): add parameter-extractor、if-else、var-aggregator Node

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/83
This commit is contained in:
赵莹
2025-12-30 14:23:48 +08:00
20 changed files with 1047 additions and 349 deletions

View File

@@ -1552,17 +1552,17 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
answer: 'Answer',
aiAndCognitiveProcessing: 'AI & Cognitive Processing',
llm: 'Large Language Model (LLM)',
model_selection: 'Model Selection',
model_voting: 'Model Voting',
rag: 'Knowledge Retrieval (RAG)',
classification: 'Smart Classification',
model_selection: 'Multi-Model Selection',
model_voting: 'Multi-Model Voting',
'knowledge-retrieval': 'Knowledge Retrieval (RAG)',
classification: 'Intelligent Classification',
'parameter-extractor': 'Parameter Extraction',
flowControl: 'Flow Control',
condition: 'Conditional Branch',
'if-else': 'Conditional Branch',
iteration: 'Iteration',
loop: 'Loop',
parallel: 'Parallel Execution',
aggregator: 'Aggregator',
'var-aggregator': 'Variable Aggregator',
externalInteraction: 'External Interaction',
http_request: 'HTTP Request',
tools: 'Tools',
@@ -1586,7 +1586,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
clickToConfigure: 'Click to configure node parameters',
nodeProperties: 'Node Properties',
empty: "Emmm... The box is empty, there's nothing here~",
empty: "Emmm... The box is empty, nothing here~",
nodeName: 'Node Name',
@@ -1609,16 +1609,66 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
editVariable: 'Edit Variable',
variableType: 'Variable Type',
variableName: 'Variable Name',
invalidVariableName: 'Variable name must start with a letter and contain only letters, numbers, and underscores',
description: 'Display Name',
default: 'Default Value',
required: 'Required',
max_length: 'Max Length',
defaultChecked: 'Checked',
notDefaultChecked: 'Not Checked',
notDefaultChecked: 'Unchecked',
options: 'Options',
},
end: {
output: 'Reply'
},
'knowledge-retrieval': {
query: 'Query Variable',
knowledge_retrieval: 'Knowledge Base',
recallConfig: 'Recall Test',
},
'parameter-extractor': {
model_id: 'Model',
text: 'Input Variable',
params: 'Extract Parameters',
prompt: 'Instruction',
addParam: 'Add Extract Parameter',
editParam: 'Edit Extract Parameter',
name: 'Name',
invalidParamName: 'Parameter name must start with a letter and contain only letters, numbers, and underscores',
type: 'Type',
desc: 'Description',
required: 'Required',
'string': 'String',
'number': 'Number',
'boolean': 'Boolean',
'array[string]': 'Array[String]',
'array[number]': 'Array[Number]',
'array[boolean]': 'Array[Boolean]',
'array[object]': 'Array[Object]',
},
'var-aggregator': {
group: 'Aggregation Group',
invalidVariableName: 'Variable name must start with a letter and contain only letters, numbers, and underscores',
addGroup: 'Add Group',
variable: 'Variable Assignment'
},
'if-else': {
"empty": 'Is Empty',
"not_empty": 'Is Not Empty',
"contains": 'Contains',
"not_contains": 'Does Not Contain',
"startwith": 'Starts With',
"endwith": 'Ends With',
"eq": '==',
"ne": '!=',
"lt": '<',
"le": '<=',
"gt": '>',
"ge": '>=',
else_desc: 'Used to define the logic that should be executed when the if condition is not met.'
}
},
@@ -1627,7 +1677,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
save: 'Save',
export: 'Export',
variableConfig: 'Variable Configuration',
variableRequired: 'required',
variableRequired: 'Required',
addMessage: 'Add Message',
answerDesc: 'Reply'
},

View File

@@ -1188,7 +1188,9 @@ export const zh = {
memoryContent: '记忆内容',
created_at: '创建时间',
updated_at: '最后更新时间',
fullScreen: '全屏'
fullScreen: '全屏',
memoryWindow: "{{name}}的记忆之窗"
},
space: {
createSpace: '创建空间',
@@ -1778,7 +1780,8 @@ export const zh = {
"lt": '<',
"le": '<=',
"gt": '>',
"ge": '>='
"ge": '>=',
else_desc: '用于定义当 if 条件不满足时应执行的逻辑。'
}
},