mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 11:29:39 +08:00
doc: add more comment for pipeline config
This commit is contained in:
@@ -7,6 +7,9 @@ stages:
|
||||
label:
|
||||
en_US: Runner
|
||||
zh_CN: 运行方式
|
||||
description:
|
||||
en_US: Strategy to call AI to process messages
|
||||
zh_CN: 调用 AI 处理消息的方式
|
||||
config:
|
||||
- name: runner
|
||||
label:
|
||||
@@ -46,6 +49,9 @@ stages:
|
||||
label:
|
||||
en_US: Max Round
|
||||
zh_CN: 最大回合数
|
||||
description:
|
||||
en_US: The maximum number of previous messages that the agent can remember
|
||||
zh_CN: 最大前文消息回合数
|
||||
type: integer
|
||||
required: true
|
||||
default: 10
|
||||
@@ -53,6 +59,9 @@ stages:
|
||||
label:
|
||||
en_US: Prompt
|
||||
zh_CN: 提示词
|
||||
description:
|
||||
en_US: The prompt of the agent
|
||||
zh_CN: 除非您了解消息结构,否则请只使用 system 单提示词
|
||||
type: prompt-editor
|
||||
required: true
|
||||
- name: dify-service-api
|
||||
@@ -155,6 +164,9 @@ stages:
|
||||
label:
|
||||
en_US: References Quote
|
||||
zh_CN: 引用文本
|
||||
description:
|
||||
en_US: The text prompt when the references are included
|
||||
zh_CN: 包含引用资料时的文本提示
|
||||
type: string
|
||||
required: false
|
||||
default: '参考资料来自:'
|
||||
|
||||
@@ -12,6 +12,9 @@ stages:
|
||||
label:
|
||||
en_US: Threshold
|
||||
zh_CN: 阈值
|
||||
description:
|
||||
en_US: The threshold of the long text
|
||||
zh_CN: 超过此长度的文本将被处理
|
||||
type: integer
|
||||
required: true
|
||||
default: 1000
|
||||
@@ -19,6 +22,9 @@ stages:
|
||||
label:
|
||||
en_US: Strategy
|
||||
zh_CN: 策略
|
||||
description:
|
||||
en_US: The strategy of the long text
|
||||
zh_CN: 长文本的处理策略
|
||||
type: select
|
||||
required: true
|
||||
default: forward
|
||||
@@ -26,7 +32,7 @@ stages:
|
||||
- name: forward
|
||||
label:
|
||||
en_US: Forward Message Component
|
||||
zh_CN: 转发消息组件
|
||||
zh_CN: 转换为转发消息组件(部分平台不支持)
|
||||
- name: image
|
||||
label:
|
||||
en_US: Convert to Image
|
||||
@@ -35,24 +41,30 @@ stages:
|
||||
label:
|
||||
en_US: Font Path
|
||||
zh_CN: 字体路径
|
||||
description:
|
||||
en_US: The path of the font to be used when converting to image
|
||||
zh_CN: 选用转换为图片时,所使用的字体路径
|
||||
type: string
|
||||
required: true
|
||||
required: false
|
||||
default: ''
|
||||
- name: force-delay
|
||||
label:
|
||||
en_US: Force Delay
|
||||
zh_CN: 强制延迟
|
||||
description:
|
||||
en_US: Force the output to be delayed for a while
|
||||
zh_CN: 强制延迟一段时间后再回复给用户
|
||||
config:
|
||||
- name: min
|
||||
label:
|
||||
en_US: Min
|
||||
en_US: Min Seconds
|
||||
zh_CN: 最小秒数
|
||||
type: integer
|
||||
required: true
|
||||
default: 0
|
||||
- name: max
|
||||
label:
|
||||
en_US: Max
|
||||
en_US: Max Seconds
|
||||
zh_CN: 最大秒数
|
||||
type: integer
|
||||
required: true
|
||||
@@ -72,14 +84,14 @@ stages:
|
||||
- name: at-sender
|
||||
label:
|
||||
en_US: At Sender
|
||||
zh_CN: 在回复中@发送者
|
||||
zh_CN: 在群聊回复中@发送者
|
||||
type: boolean
|
||||
required: true
|
||||
default: true
|
||||
- name: quote-origin
|
||||
label:
|
||||
en_US: Quote Origin
|
||||
zh_CN: 引用原文
|
||||
en_US: Quote Origin Message
|
||||
zh_CN: 引用原消息
|
||||
type: boolean
|
||||
required: true
|
||||
default: false
|
||||
@@ -87,6 +99,9 @@ stages:
|
||||
label:
|
||||
en_US: Track Function Calls
|
||||
zh_CN: 跟踪函数调用
|
||||
description:
|
||||
en_US: If enabled, the function calls will be tracked and output to the user
|
||||
zh_CN: 启用后,Agent 每次调用工具时都会输出一个提示给用户
|
||||
type: boolean
|
||||
required: true
|
||||
default: false
|
||||
|
||||
@@ -32,6 +32,9 @@ stages:
|
||||
label:
|
||||
en_US: Check Sensitive Words
|
||||
zh_CN: 检查敏感词
|
||||
description:
|
||||
en_US: Sensitive words can be configured in data/metadata/sensitive-words.json
|
||||
zh_CN: 敏感词内容可以在 data/metadata/sensitive-words.json 中配置
|
||||
type: boolean
|
||||
required: true
|
||||
default: false
|
||||
|
||||
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user