mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-17 03:04:20 +00:00
增加百度云内容审核
This commit is contained in:
@@ -106,6 +106,18 @@ ignore_rules = {
|
||||
# 请在sensitive.json中添加敏感词
|
||||
sensitive_word_filter = True
|
||||
|
||||
#是否启动百度云内容安全审核
|
||||
check = False
|
||||
|
||||
#百度云API_KEY 24位英文数字字符串
|
||||
baidu_api_key = ""
|
||||
|
||||
#百度云SECRET_KEY 32位的英文数字字符串
|
||||
baidu_secret_key =""
|
||||
|
||||
#不合规消息自定义返回
|
||||
illgalmessage = "[百度云]请珍惜机器人,当前返回内容不合规"
|
||||
|
||||
# 启动时是否发送赞赏码
|
||||
# 仅当使用量已经超过2048字时发送
|
||||
encourage_sponsor_at_start = True
|
||||
|
||||
Reference in New Issue
Block a user