doc: add more comment for pipeline config

This commit is contained in:
Junyan Qin
2025-05-11 15:14:32 +08:00
parent e467c2b5fc
commit d01858125c
4 changed files with 51 additions and 18 deletions
+14 -11
View File
@@ -8,8 +8,8 @@ stages:
en_US: Group Respond Rule
zh_CN: 群响应规则
description:
en_US: The group respond rule of the pipeline
zh_CN: 群响应规则
en_US: The respond rule of the messages in the groups
zh_CN: 内消息的响应规则
config:
- name: at
label:
@@ -26,8 +26,8 @@ stages:
en_US: Prefix
zh_CN: 前缀
description:
en_US: The prefix of the message
zh_CN: 消息前缀
en_US: Messages with these prefixes will be responded (the prefixes will be removed automatically when sending to AI)
zh_CN: 具有这些前缀的消息将被响应(发送给 AI 时会自动去除对应前缀
type: array[string]
required: true
default: []
@@ -36,8 +36,8 @@ stages:
en_US: Regexp
zh_CN: 正则表达式
description:
en_US: The regexp of the message
zh_CN: 消息正则表达式
en_US: Messages with these regular expressions will be responded
zh_CN: 符合这些正则表达式的消息将被响应
type: array[string]
required: true
default: []
@@ -47,7 +47,7 @@ stages:
zh_CN: 随机
description:
en_US: The probability of the random response, range from 0.0 to 1.0
zh_CN: 随机响应概率,范围为 0.0-1.0
zh_CN: 随机响应概率,范围为 0.0-1.0,对应 0% 到 100%
type: float
required: false
default: 0
@@ -93,14 +93,17 @@ stages:
label:
en_US: Ignore Rules
zh_CN: 消息忽略规则
description:
en_US: Ignore rules that apply to both group and private messages
zh_CN: 对群聊、私聊消息均适用的忽略规则(优先级高于群响应规则)
config:
- name: prefix
label:
en_US: Prefix
zh_CN: 前缀
description:
en_US: The prefix of the message
zh_CN: 消息前缀
en_US: Messages with these prefixes will be ignored
zh_CN: 包含这些前缀的消息将被忽略
type: array[string]
required: true
default: []
@@ -109,8 +112,8 @@ stages:
en_US: Regexp
zh_CN: 正则表达式
description:
en_US: The regexp of the message
zh_CN: 消息正则表达式
en_US: Messages with these regular expressions will be ignored
zh_CN: 符合这些正则表达式的消息将被忽略
type: array[string]
required: true
default: []