forked from qingconglaixueit/wechatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.群聊增加引用回复 3.修复会话过长引起GPT请求失败BUG 4.清空会话口令更改为可配置
- Loading branch information
Showing
8 changed files
with
333 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{ | ||
"api_key": "api key", | ||
"api_key": "your api key", | ||
"auto_pass": true, | ||
"session_timeout": 60, | ||
"max_tokens": 512, | ||
"max_tokens": 1024, | ||
"model": "text-davinci-003", | ||
"temperature": 1, | ||
"reply_prefix": "来自机器人回复:" | ||
"reply_prefix": "来自机器人回复:", | ||
"session_clear_token": "清空会话" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.