forked from hanfangyuan4396/dify-on-wechat
-
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.
Merge pull request zhayujie#476 from Chiaki-Chan/master
1.新增wechaty方案的语音识别、语音回复功能;2.更新README;
- Loading branch information
Showing
4 changed files
with
131 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.DS_Store | ||
.idea | ||
.wechaty/ | ||
__pycache__/ | ||
venv* | ||
*.pyc | ||
|
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
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,13 +1,18 @@ | ||
{ | ||
"open_ai_api_key": "YOUR API KEY", | ||
"proxy": "", | ||
"wechaty_puppet_service_token":"", | ||
"baidu_app_id": "", | ||
"baidu_api_key": "", | ||
"baidu_secret_key": "", | ||
"single_chat_prefix": ["bot", "@bot"], | ||
"single_chat_reply_prefix": "[bot] ", | ||
"group_chat_prefix": ["@bot"], | ||
"group_name_white_list": ["ChatGPT测试群", "ChatGPT测试群2"], | ||
"image_create_prefix": ["画", "看", "找"], | ||
"conversation_max_tokens": 1000, | ||
"speech_recognition": false, | ||
"character_desc": "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。", | ||
"expires_in_seconds": 3600 | ||
"voice_reply_voice": false, | ||
"conversation_max_tokens": 1000, | ||
"expires_in_seconds": 3600, | ||
"character_desc": "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。" | ||
} |