This commit is contained in:
Typer_Body
2026-05-18 01:47:13 +08:00
parent 27c0d344bf
commit bb7db53447
89 changed files with 1202 additions and 6883 deletions
@@ -1,9 +1,14 @@
# Call Pipeline Node Configuration
name: call_pipeline
label:
en_US: Call Pipeline
zh_Hans: 调用 Pipeline
category: action
icon: "⚙️"
icon: Workflow
color: '#ef4444'
description: 'workflows.nodes.callPipelineDescription'
description:
en_US: Invoke an existing Pipeline for processing
zh_Hans: 调用现有的 Pipeline 进行处理
inputs:
- name: query
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/code_executor.py
name: code_executor
label:
en_US: Code Executor
zh_Hans: 代码执行
category: process
icon: "💻"
icon: Code
color: '#3b82f6'
description: 'workflows.nodes.codeExecutorDescription'
description:
en_US: Execute custom code to process data
zh_Hans: 执行自定义代码处理数据
inputs:
- name: input
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/condition.py
name: condition
label:
en_US: Condition
zh_Hans: 条件分支
category: control
icon: "🔀"
icon: GitBranch
color: '#8b5cf6'
description: 'workflows.nodes.conditionDescription'
description:
en_US: Branch workflow based on a condition
zh_Hans: 根据条件分支工作流
inputs:
- name: input
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/cron_trigger.py
name: cron_trigger
label:
en_US: Scheduled Trigger
zh_Hans: 定时触发
category: trigger
icon: "⏰"
icon: Timer
color: '#22c55e'
description: 'workflows.nodes.cronTriggerDescription'
description:
en_US: Trigger workflow on a scheduled time
zh_Hans: 按定时计划触发工作流
inputs: []
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/data_transform.py
name: data_transform
label:
en_US: Data Transform
zh_Hans: 数据转换
category: process
icon: "🔄"
icon: ArrowRightLeft
color: '#3b82f6'
description: 'workflows.nodes.dataTransformDescription'
description:
en_US: Transform data using templates or JSONPath
zh_Hans: 使用模板或 JSONPath 转换数据
inputs:
- name: data
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/database_query.py
name: database_query
label:
en_US: Database Query
zh_Hans: 数据库查询
category: integration
icon: "🗄️"
icon: Database
color: '#ec4899'
description: 'workflows.nodes.databaseQueryDescription'
description:
en_US: Execute database queries
zh_Hans: 执行数据库查询
inputs:
- name: parameters
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/end.py
name: end
label:
en_US: End
zh_Hans: 结束
category: control
icon: "🛑"
icon: PauseCircle
color: '#8b5cf6'
description: 'workflows.nodes.endDescription'
description:
en_US: End the workflow execution
zh_Hans: 结束工作流执行
inputs:
- name: input
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/event_trigger.py
name: event_trigger
label:
en_US: Event Trigger
zh_Hans: 事件触发
category: trigger
icon: "📡"
icon: Bell
color: '#22c55e'
description: 'workflows.nodes.eventTriggerDescription'
description:
en_US: Trigger workflow when a system event occurs
zh_Hans: 当系统事件发生时触发工作流
inputs: []
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/http_request.py
name: http_request
label:
en_US: HTTP Request
zh_Hans: HTTP 请求
category: action
icon: "🌍"
icon: Globe
color: '#10b981'
description: 'workflows.nodes.httpRequestDescription'
description:
en_US: Make HTTP requests to external APIs
zh_Hans: 向外部 API 发送 HTTP 请求
inputs:
- name: body
@@ -1,9 +1,14 @@
# Iterator Node Configuration
name: iterator
label:
en_US: Iterator
zh_Hans: 迭代器
category: control
icon: "🔄"
icon: Repeat
color: '#f59e0b'
description: 'workflows.nodes.iteratorDescription'
description:
en_US: Iterate over array elements one by one
zh_Hans: 逐个遍历数组元素
inputs:
- name: array
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/knowledge_retrieval.py
name: knowledge_retrieval
label:
en_US: Knowledge Retrieval
zh_Hans: 知识库检索
category: process
icon: "📚"
icon: Search
color: '#8b5cf6'
description: 'workflows.nodes.knowledgeRetrievalDescription'
description:
en_US: Retrieve relevant information from knowledge bases
zh_Hans: 从知识库中检索相关信息
inputs:
- name: query
@@ -46,7 +51,7 @@ outputs:
config:
- name: knowledge_bases
type: json
type: knowledge-base-multi-selector
required: true
default: []
label:
@@ -101,7 +106,7 @@ config:
zh_Hans: 使用重排序模型提高结果相关性
- name: rerank_model
type: string
type: rerank-model-selector
default: ""
label:
en_US: Rerank Model
@@ -109,3 +114,5 @@ config:
description:
en_US: Model to use for reranking results
zh_Hans: 用于结果重排序的模型
show_if:
rerank_enabled: true
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/llm_call.py
name: llm_call
label:
en_US: LLM Call
zh_Hans: LLM 调用
category: process
icon: "🤖"
icon: Brain
color: '#8b5cf6'
description: 'workflows.nodes.llmCallDescription'
description:
en_US: Call a large language model to generate responses
zh_Hans: 调用大语言模型生成响应
inputs:
- name: input
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/loop.py
name: loop
label:
en_US: Loop
zh_Hans: 循环
category: control
icon: "🔁"
icon: Repeat
color: '#8b5cf6'
description: 'workflows.nodes.loopDescription'
description:
en_US: Iterate over items or repeat until condition
zh_Hans: 遍历项目或重复直到满足条件
inputs:
- name: items
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/mcp_tool.py
name: mcp_tool
label:
en_US: MCP Tool
zh_Hans: MCP 工具
category: integration
icon: 🔧
icon: Wrench
color: '#ec4899'
description: workflows.nodes.mcpToolDescription
description:
en_US: Invoke an MCP (Model Context Protocol) tool
zh_Hans: 调用 MCP 工具
inputs:
- name: arguments
type: object
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/memory_store.py
name: memory_store
label:
en_US: Memory Store
zh_Hans: 记忆存储
category: integration
icon: "💾"
icon: HardDrive
color: '#ec4899'
description: 'workflows.nodes.memoryStoreDescription'
description:
en_US: Store and retrieve data from workflow memory
zh_Hans: 从工作流记忆中存储和检索数据
inputs:
- name: value
@@ -1,9 +1,14 @@
# Merge Node Configuration
name: merge
label:
en_US: Merge
zh_Hans: 合并
category: control
icon: "🔗"
icon: GitMerge
color: '#f59e0b'
description: 'workflows.nodes.mergeDescription'
description:
en_US: Merge multiple branches back together
zh_Hans: 将多个分支合并在一起
inputs:
- name: input_1
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/message_trigger.py
name: message_trigger
label:
en_US: Message Trigger
zh_Hans: 消息触发
category: trigger
icon: "💬"
icon: MessageSquare
color: '#22c55e'
description: 'workflows.nodes.messageTriggerDescription'
description:
en_US: Trigger workflow when a message is received
zh_Hans: 当收到消息时触发工作流
inputs: []
@@ -1,9 +1,14 @@
# Opening Statement Node Configuration
name: opening_statement
label:
en_US: Opening Statement
zh_Hans: 对话开场白
category: action
icon: "👋"
icon: MessageSquare
color: '#ef4444'
description: 'workflows.nodes.openingStatementDescription'
description:
en_US: Provide conversation opener and suggested questions
zh_Hans: 提供对话开场白和建议问题
inputs: []
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/parallel.py
name: parallel
label:
en_US: Parallel
zh_Hans: 并行执行
category: control
icon: "⚡"
icon: Layers
color: '#8b5cf6'
description: 'workflows.nodes.parallelDescription'
description:
en_US: Execute multiple branches in parallel
zh_Hans: 并行执行多个分支
inputs:
- name: input
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/parameter_extractor.py
name: parameter_extractor
label:
en_US: Parameter Extractor
zh_Hans: 参数提取器
category: process
icon: "🔍"
icon: Variable
color: '#8b5cf6'
description: 'workflows.nodes.parameterExtractorDescription'
description:
en_US: Extract structured parameters from text using AI
zh_Hans: 使用 AI 从文本中提取结构化参数
inputs:
- name: text
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/question_classifier.py
name: question_classifier
label:
en_US: Question Classifier
zh_Hans: 问题分类器
category: process
icon: "🏷️"
icon: ListFilter
color: '#8b5cf6'
description: 'workflows.nodes.questionClassifierDescription'
description:
en_US: Classify questions into predefined categories using AI
zh_Hans: 使用 AI 将问题分类到预定义类别
inputs:
- name: question
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/redis_operation.py
name: redis_operation
label:
en_US: Redis Operation
zh_Hans: Redis 操作
category: integration
icon: "🔴"
icon: Server
color: '#ec4899'
description: 'workflows.nodes.redisOperationDescription'
description:
en_US: Perform Redis cache operations
zh_Hans: 执行 Redis 缓存操作
inputs:
- name: key
@@ -1,9 +1,14 @@
# Reply Message Node Configuration
name: reply_message
label:
en_US: Reply Message
zh_Hans: 回复消息
category: action
icon: "↩️"
icon: Send
color: '#ef4444'
description: 'workflows.nodes.replyMessageDescription'
description:
en_US: Reply to the message that triggered the workflow
zh_Hans: 回复触发工作流的消息
inputs:
- name: message
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/send_message.py
name: send_message
label:
en_US: Send Message
zh_Hans: 发送消息
category: action
icon: "📤"
icon: MessageCircle
color: '#10b981'
description: 'workflows.nodes.sendMessageDescription'
description:
en_US: Send a message to a chat or user
zh_Hans: 向聊天或用户发送消息
inputs:
- name: content
@@ -1,9 +1,14 @@
# Set Variable Node Configuration
name: set_variable
label:
en_US: Set Variable
zh_Hans: 设置变量
category: action
icon: "📝"
icon: Variable
color: '#ef4444'
description: 'workflows.nodes.setVariableDescription'
description:
en_US: Set a context variable value
zh_Hans: 设置上下文变量值
inputs:
- name: value
@@ -1,9 +1,14 @@
# Store Data Node Configuration
name: store_data
label:
en_US: Store Data
zh_Hans: 存储数据
category: action
icon: "💾"
icon: Database
color: '#ef4444'
description: 'workflows.nodes.storeDataDescription'
description:
en_US: Store data to persistent storage
zh_Hans: 将数据存储到持久化存储
inputs:
- name: key
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/switch.py
name: switch
label:
en_US: Switch
zh_Hans: 多路分支
category: control
icon: "🔀"
icon: Split
color: '#8b5cf6'
description: 'workflows.nodes.switchDescription'
description:
en_US: Branch workflow based on multiple cases
zh_Hans: 根据多个条件分支工作流
inputs:
- name: input
@@ -1,9 +1,14 @@
# Variable Aggregator Node Configuration
name: variable_aggregator
label:
en_US: Variable Aggregator
zh_Hans: 变量聚合器
category: control
icon: "📊"
icon: GitMerge
color: '#f59e0b'
description: 'workflows.nodes.variableAggregatorDescription'
description:
en_US: Aggregate variable outputs from multiple branches
zh_Hans: 聚合多个分支的变量输出
inputs:
- name: variables
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/wait.py
name: wait
label:
en_US: Wait
zh_Hans: 等待
category: control
icon: "⏳"
icon: Clock
color: '#8b5cf6'
description: 'workflows.nodes.waitDescription'
description:
en_US: Pause workflow execution for a specified duration
zh_Hans: 暂停工作流执行指定时间
inputs:
- name: input
@@ -3,10 +3,15 @@
# The corresponding Python implementation is in: pkg/workflow/nodes/webhook_trigger.py
name: webhook_trigger
label:
en_US: Webhook Trigger
zh_Hans: Webhook 触发
category: trigger
icon: "🌐"
icon: Webhook
color: '#22c55e'
description: 'workflows.nodes.webhookTriggerDescription'
description:
en_US: Trigger workflow via HTTP webhook
zh_Hans: 通过 HTTP 请求触发工作流
inputs: []