qexed_content_filter

  • 提交: a40e7105530a7578ed7a19f6e2fbacef4c10f2e6
  • 语言: zh-CN
  • 配置文件: config/qexed_content_filter.toml
  • 字段数量: 9
  • 说明: qexed_content_filter.toml: 聊天内容审核引擎、词库和外部 API 设置。
TOML 在线预览
粘贴或上传配置文件,文档中的匹配字段会显示当前值。
qexed_content_filter.toml
粘贴或上传 TOML 后预览当前值。
配置项类型默认值当前值说明提示
content_filterobject见 #content_filter见 #content_filter聊天内容审核设置

复杂类型详情

content_filter

类型
object
默认值
当前值
粘贴或上传 TOML 后预览当前值。
说明
聊天内容审核设置
配置项类型默认值当前值说明提示
content_filter.api_tokenstring<stored in .secrets>粘贴或上传 TOML 后预览当前值。内容审核 API Bearer token
content_filter.api_urlstring""粘贴或上传 TOML 后预览当前值。外部内容审核 HTTP API 地址,服务端发送 JSON { text }
content_filter.block_messagestring"Your message was blocked by the server content filter."粘贴或上传 TOML 后预览当前值。API 拦截聊天时发送给玩家的提示
content_filter.enablebooleanfalse粘贴或上传 TOML 后预览当前值。启用聊天内容审核,默认关闭
content_filter.enginestring"fixed"粘贴或上传 TOML 后预览当前值。内容审核引擎:fixed、knowledge 或 api
content_filter.knowledge_pathstring""粘贴或上传 TOML 后预览当前值。敏感词知识库文件路径,每行一个词,# 开头的行会被忽略
content_filter.replacementstring"***"粘贴或上传 TOML 后预览当前值。命中敏感词后的替换文本
content_filter.wordsarray[]粘贴或上传 TOML 后预览当前值。fixed 和 knowledge 引擎使用的内置敏感词