chore: change zh_CN to zh_Hans

This commit is contained in:
Junyan Qin
2025-05-14 16:44:48 +08:00
parent 6652b57a0d
commit c835555a59
42 changed files with 247 additions and 247 deletions
+35 -35
View File
@@ -1,20 +1,20 @@
name: ai
label:
en_US: AI Feature
zh_CN: AI 能力
zh_Hans: AI 能力
stages:
- name: runner
label:
en_US: Runner
zh_CN: 运行方式
zh_Hans: 运行方式
description:
en_US: Strategy to call AI to process messages
zh_CN: 调用 AI 处理消息的方式
zh_Hans: 调用 AI 处理消息的方式
config:
- name: runner
label:
en_US: Runner
zh_CN: 运行器
zh_Hans: 运行器
type: select
required: true
default: local-agent
@@ -22,66 +22,66 @@ stages:
- name: local-agent
label:
en_US: Embedded Agent
zh_CN: 内置 Agent
zh_Hans: 内置 Agent
- name: dify-service-api
label:
en_US: Dify Service API
zh_CN: Dify 服务 API
zh_Hans: Dify 服务 API
- name: dashscope-app-api
label:
en_US: Aliyun Dashscope App API
zh_CN: 阿里云百炼平台 API
zh_Hans: 阿里云百炼平台 API
- name: local-agent
label:
en_US: Embedded Agent
zh_CN: 内置 Agent
zh_Hans: 内置 Agent
description:
en_US: Configure the embedded agent of the pipeline
zh_CN: 配置内置 Agent
zh_Hans: 配置内置 Agent
config:
- name: model
label:
en_US: Model
zh_CN: 模型
zh_Hans: 模型
type: llm-model-selector
required: true
- name: max-round
label:
en_US: Max Round
zh_CN: 最大回合数
zh_Hans: 最大回合数
description:
en_US: The maximum number of previous messages that the agent can remember
zh_CN: 最大前文消息回合数
zh_Hans: 最大前文消息回合数
type: integer
required: true
default: 10
- name: prompt
label:
en_US: Prompt
zh_CN: 提示词
zh_Hans: 提示词
description:
en_US: The prompt of the agent
zh_CN: 除非您了解消息结构,否则请只使用 system 单提示词
zh_Hans: 除非您了解消息结构,否则请只使用 system 单提示词
type: prompt-editor
required: true
- name: dify-service-api
label:
en_US: Dify Service API
zh_CN: Dify 服务 API
zh_Hans: Dify 服务 API
description:
en_US: Configure the Dify service API of the pipeline
zh_CN: 配置 Dify 服务 API
zh_Hans: 配置 Dify 服务 API
config:
- name: base-url
label:
en_US: Base URL
zh_CN: 基础 URL
zh_Hans: 基础 URL
type: string
required: true
- name: app-type
label:
en_US: App Type
zh_CN: 应用类型
zh_Hans: 应用类型
type: select
required: true
default: chat
@@ -89,25 +89,25 @@ stages:
- name: chat
label:
en_US: Chat
zh_CN: 聊天(包括Chatflow
zh_Hans: 聊天(包括Chatflow
- name: agent
label:
en_US: Agent
zh_CN: Agent
zh_Hans: Agent
- name: workflow
label:
en_US: Workflow
zh_CN: 工作流
zh_Hans: 工作流
- name: api-key
label:
en_US: API Key
zh_CN: API 密钥
zh_Hans: API 密钥
type: string
required: true
- name: thinking-convert
label:
en_US: CoT Convert
zh_CN: 思维链转换策略
zh_Hans: 思维链转换策略
type: select
required: true
default: plain
@@ -115,27 +115,27 @@ stages:
- name: plain
label:
en_US: Convert to <think>...</think>
zh_CN: 转换成 <think>...</think>
zh_Hans: 转换成 <think>...</think>
- name: original
label:
en_US: Original
zh_CN: 原始
zh_Hans: 原始
- name: remove
label:
en_US: Remove
zh_CN: 移除
zh_Hans: 移除
- name: dashscope-app-api
label:
en_US: Aliyun Dashscope App API
zh_CN: 阿里云百炼平台 API
zh_Hans: 阿里云百炼平台 API
description:
en_US: Configure the Aliyun Dashscope App API of the pipeline
zh_CN: 配置阿里云百炼平台 API
zh_Hans: 配置阿里云百炼平台 API
config:
- name: app-type
label:
en_US: App Type
zh_CN: 应用类型
zh_Hans: 应用类型
type: select
required: true
default: agent
@@ -143,30 +143,30 @@ stages:
- name: agent
label:
en_US: Agent
zh_CN: Agent
zh_Hans: Agent
- name: workflow
label:
en_US: Workflow
zh_CN: 工作流
zh_Hans: 工作流
- name: api-key
label:
en_US: API Key
zh_CN: API 密钥
zh_Hans: API 密钥
type: string
required: true
- name: app-id
label:
en_US: App ID
zh_CN: 应用 ID
zh_Hans: 应用 ID
type: string
required: true
- name: references_quote
label:
en_US: References Quote
zh_CN: 引用文本
zh_Hans: 引用文本
description:
en_US: The text prompt when the references are included
zh_CN: 包含引用资料时的文本提示
zh_Hans: 包含引用资料时的文本提示
type: string
required: false
default: '参考资料来自:'
+20 -20
View File
@@ -1,30 +1,30 @@
name: output
label:
en_US: Output Processing
zh_CN: 输出处理
zh_Hans: 输出处理
stages:
- name: long-text-processing
label:
en_US: Long Text Processing
zh_CN: 长文本处理
zh_Hans: 长文本处理
config:
- name: threshold
label:
en_US: Threshold
zh_CN: 阈值
zh_Hans: 阈值
description:
en_US: The threshold of the long text
zh_CN: 超过此长度的文本将被处理
zh_Hans: 超过此长度的文本将被处理
type: integer
required: true
default: 1000
- name: strategy
label:
en_US: Strategy
zh_CN: 策略
zh_Hans: 策略
description:
en_US: The strategy of the long text
zh_CN: 长文本的处理策略
zh_Hans: 长文本的处理策略
type: select
required: true
default: forward
@@ -32,76 +32,76 @@ stages:
- name: forward
label:
en_US: Forward Message Component
zh_CN: 转换为转发消息组件(部分平台不支持)
zh_Hans: 转换为转发消息组件(部分平台不支持)
- name: image
label:
en_US: Convert to Image
zh_CN: 转换为图片
zh_Hans: 转换为图片
- name: font-path
label:
en_US: Font Path
zh_CN: 字体路径
zh_Hans: 字体路径
description:
en_US: The path of the font to be used when converting to image
zh_CN: 选用转换为图片时,所使用的字体路径
zh_Hans: 选用转换为图片时,所使用的字体路径
type: string
required: false
default: ''
- name: force-delay
label:
en_US: Force Delay
zh_CN: 强制延迟
zh_Hans: 强制延迟
description:
en_US: Force the output to be delayed for a while
zh_CN: 强制延迟一段时间后再回复给用户
zh_Hans: 强制延迟一段时间后再回复给用户
config:
- name: min
label:
en_US: Min Seconds
zh_CN: 最小秒数
zh_Hans: 最小秒数
type: integer
required: true
default: 0
- name: max
label:
en_US: Max Seconds
zh_CN: 最大秒数
zh_Hans: 最大秒数
type: integer
required: true
default: 0
- name: misc
label:
en_US: Misc
zh_CN: 杂项
zh_Hans: 杂项
config:
- name: hide-exception
label:
en_US: Hide Exception
zh_CN: 不输出异常信息给用户
zh_Hans: 不输出异常信息给用户
type: boolean
required: true
default: true
- name: at-sender
label:
en_US: At Sender
zh_CN: 在群聊回复中@发送者
zh_Hans: 在群聊回复中@发送者
type: boolean
required: true
default: true
- name: quote-origin
label:
en_US: Quote Origin Message
zh_CN: 引用原消息
zh_Hans: 引用原消息
type: boolean
required: true
default: false
- name: track-function-calls
label:
en_US: Track Function Calls
zh_CN: 跟踪函数调用
zh_Hans: 跟踪函数调用
description:
en_US: If enabled, the function calls will be tracked and output to the user
zh_CN: 启用后,Agent 每次调用工具时都会输出一个提示给用户
zh_Hans: 启用后,Agent 每次调用工具时都会输出一个提示给用户
type: boolean
required: true
default: false
+14 -14
View File
@@ -1,17 +1,17 @@
name: safety
label:
en_US: Safety Control
zh_CN: 安全控制
zh_Hans: 安全控制
stages:
- name: content-filter
label:
en_US: Content Filter
zh_CN: 内容过滤
zh_Hans: 内容过滤
config:
- name: scope
label:
en_US: Scope
zh_CN: 检查范围
zh_Hans: 检查范围
type: select
required: true
default: all
@@ -19,48 +19,48 @@ stages:
- name: all
label:
en_US: All
zh_CN: 全部
zh_Hans: 全部
- name: income-msg
label:
en_US: Income Message
zh_CN: 传入消息(用户消息)
zh_Hans: 传入消息(用户消息)
- name: output-msg
label:
en_US: Output Message
zh_CN: 传出消息(机器人消息)
zh_Hans: 传出消息(机器人消息)
- name: check-sensitive-words
label:
en_US: Check Sensitive Words
zh_CN: 检查敏感词
zh_Hans: 检查敏感词
description:
en_US: Sensitive words can be configured in data/metadata/sensitive-words.json
zh_CN: 敏感词内容可以在 data/metadata/sensitive-words.json 中配置
zh_Hans: 敏感词内容可以在 data/metadata/sensitive-words.json 中配置
type: boolean
required: true
default: false
- name: rate-limit
label:
en_US: Rate Limit
zh_CN: 速率限制
zh_Hans: 速率限制
config:
- name: window-length
label:
en_US: Window Length
zh_CN: 窗口长度(秒)
zh_Hans: 窗口长度(秒)
type: integer
required: true
default: 60
- name: limitation
label:
en_US: Limitation
zh_CN: 限制次数
zh_Hans: 限制次数
type: integer
required: true
default: 60
- name: strategy
label:
en_US: Strategy
zh_CN: 策略
zh_Hans: 策略
type: select
required: true
default: drop
@@ -68,8 +68,8 @@ stages:
- name: drop
label:
en_US: Drop
zh_CN: 丢弃
zh_Hans: 丢弃
- name: wait
label:
en_US: Wait
zh_CN: 等待
zh_Hans: 等待
+24 -24
View File
@@ -1,68 +1,68 @@
name: trigger
label:
en_US: Trigger
zh_CN: 触发条件
zh_Hans: 触发条件
stages:
- name: group-respond-rules
label:
en_US: Group Respond Rule
zh_CN: 群响应规则
zh_Hans: 群响应规则
description:
en_US: The respond rule of the messages in the groups
zh_CN: 群内消息的响应规则
zh_Hans: 群内消息的响应规则
config:
- name: at
label:
en_US: At
zh_CN: '@'
zh_Hans: '@'
description:
en_US: Whether to trigger when the message mentions the bot
zh_CN: 是否在消息@机器人时触发
zh_Hans: 是否在消息@机器人时触发
type: boolean
required: true
default: false
- name: prefix
label:
en_US: Prefix
zh_CN: 前缀
zh_Hans: 前缀
description:
en_US: Messages with these prefixes will be responded (the prefixes will be removed automatically when sending to AI)
zh_CN: 具有这些前缀的消息将被响应(发送给 AI 时会自动去除对应前缀)
zh_Hans: 具有这些前缀的消息将被响应(发送给 AI 时会自动去除对应前缀)
type: array[string]
required: true
default: []
- name: regexp
label:
en_US: Regexp
zh_CN: 正则表达式
zh_Hans: 正则表达式
description:
en_US: Messages with these regular expressions will be responded
zh_CN: 符合这些正则表达式的消息将被响应
zh_Hans: 符合这些正则表达式的消息将被响应
type: array[string]
required: true
default: []
- name: random
label:
en_US: Random
zh_CN: 随机
zh_Hans: 随机
description:
en_US: The probability of the random response, range from 0.0 to 1.0
zh_CN: 随机响应概率,范围为 0.0-1.0,对应 0% 到 100%
zh_Hans: 随机响应概率,范围为 0.0-1.0,对应 0% 到 100%
type: float
required: false
default: 0
- name: access-control
label:
en_US: Access Control
zh_CN: 访问控制
zh_Hans: 访问控制
config:
- name: mode
label:
en_US: Mode
zh_CN: 模式
zh_Hans: 模式
description:
en_US: The mode of the access control
zh_CN: 访问控制模式
zh_Hans: 访问控制模式
type: select
required: true
default: blacklist
@@ -70,50 +70,50 @@ stages:
- name: blacklist
label:
en_US: Blacklist
zh_CN: 黑名单
zh_Hans: 黑名单
- name: whitelist
label:
en_US: Whitelist
zh_CN: 白名单
zh_Hans: 白名单
- name: blacklist
label:
en_US: Blacklist
zh_CN: 黑名单
zh_Hans: 黑名单
type: array[string]
required: true
default: []
- name: whitelist
label:
en_US: Whitelist
zh_CN: 白名单
zh_Hans: 白名单
type: array[string]
required: true
default: []
- name: ignore-rules
label:
en_US: Ignore Rules
zh_CN: 消息忽略规则
zh_Hans: 消息忽略规则
description:
en_US: Ignore rules that apply to both group and private messages
zh_CN: 对群聊、私聊消息均适用的忽略规则(优先级高于群响应规则)
zh_Hans: 对群聊、私聊消息均适用的忽略规则(优先级高于群响应规则)
config:
- name: prefix
label:
en_US: Prefix
zh_CN: 前缀
zh_Hans: 前缀
description:
en_US: Messages with these prefixes will be ignored
zh_CN: 包含这些前缀的消息将被忽略
zh_Hans: 包含这些前缀的消息将被忽略
type: array[string]
required: true
default: []
- name: regexp
label:
en_US: Regexp
zh_CN: 正则表达式
zh_Hans: 正则表达式
description:
en_US: Messages with these regular expressions will be ignored
zh_CN: 符合这些正则表达式的消息将被忽略
zh_Hans: 符合这些正则表达式的消息将被忽略
type: array[string]
required: true
default: []