From 37ad77a6f7966d0394a43134ab1339533dc16ecf Mon Sep 17 00:00:00 2001
From: zzj1804 <mehjz@foxmail.com>
Date: Thu, 2 Dec 2021 14:38:48 +0800
Subject: =?UTF-8?q?=E6=96=B0=E5=A2=9Echatbot=E6=8F=92=E4=BB=B6,=E4=BB=8E?=
 =?UTF-8?q?=E7=BE=A4=E8=81=8A=E5=A4=A9=E5=AD=A6=E4=B9=A0,=E5=B9=B6?=
 =?UTF-8?q?=E9=9A=8F=E6=9C=BA=E5=9B=9E=E8=AF=9D=20=E4=BF=AE=E6=94=B9chat?=
 =?UTF-8?q?=E6=8F=92=E4=BB=B6,=E6=97=A0=E6=B3=95=E5=9B=9E=E8=AF=9D?=
 =?UTF-8?q?=E6=97=B6=E5=B0=9D=E8=AF=95chatterbot?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 config.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'config.yml')

diff --git a/config.yml b/config.yml
index afe9fde..84eee7e 100644
--- a/config.yml
+++ b/config.yml
@@ -11,3 +11,15 @@ BotSelfConfig:
 
 SauceNAO:
   key: ""
+
+ChatterBot:
+  # mongodb存储数据库地址(数据库将自动创建)
+  # 示例 mongodb://localhost:27017/atri-chatterbot
+  # 如果为空将用SQLite代替(Python3.8后不再支持time.clock将导致初始化SQLite报错)
+  mongo_database_uri: "mongodb://localhost:27017/atri-chatterbot"
+  # 置信率阈值
+  maximum_similarity_threshold: 0.05
+  # 生成的回复低于置信率阈值时将使用的默认回复
+  default_response: ["咱听不明白(o_ _)ノ", "不懂欸", "?_?"]
+  # 群聊天随机回复概率
+  group_random_response_rate: 0.05
\ No newline at end of file
-- 
cgit v1.2.3