Skip to content

Commit

Permalink
Merge branch 'master' of github.com:binary-husky/chatgpt_academic
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Jul 15, 2023
2 parents afac657 + 3e5c328 commit 93fe457
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Latex论文一键校对 | [函数插件] 仿Grammarly对Latex文章进行语法
启动暗色[主题](https://github.com/binary-husky/gpt_academic/issues/173) | 在浏览器url后面添加```/?__theme=dark```可以切换dark主题
[多LLM模型](https://www.bilibili.com/video/BV1wT411p7yf)支持 | 同时被GPT3.5、GPT4、[清华ChatGLM2](https://github.com/THUDM/ChatGLM2-6B)[复旦MOSS](https://github.com/OpenLMLab/MOSS)同时伺候的感觉一定会很不错吧?
⭐ChatGLM2微调模型 | 支持加载ChatGLM2微调模型,提供ChatGLM2微调辅助插件
⭐实时语音对话输入 | 异步监听音频,完全脱手操作,自动断句,自动寻找回答时机
[实时语音对话输入](https://github.com/binary-husky/gpt_academic/blob/master/docs/use_audio.md) | 异步监听音频,完全脱手操作,自动断句,自动寻找回答时机
更多LLM模型接入,支持[huggingface部署](https://huggingface.co/spaces/qingxu98/gpt-academic) | 加入Newbing接口(新必应),引入清华[Jittorllms](https://github.com/Jittor/JittorLLMs)支持[LLaMA](https://github.com/facebookresearch/llama)[盘古α](https://openi.org.cn/pangu/)
更多新功能展示 (图像生成等) …… | 见本文档结尾处 ……

Expand Down
12 changes: 9 additions & 3 deletions docs/use_audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@
pip install --upgrade pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git
```

如果因为中国特色网络问题导致上述命令无法执行
如果因为特色网络问题导致上述命令无法执行
1. git clone alibabacloud-nls-python-sdk这个项目(或者直接前往Github对应网址下载压缩包).
命令行输入: `git clone https://github.com/aliyun/alibabacloud-nls-python-sdk.git`
1. 进入alibabacloud-nls-python-sdk目录命令行输入:`python setup.py install`


## 2. 配置音频功能开关 和 阿里云APPKEY(config.py/config_private.py/环境变量)

- 注册阿里云账号
- 开通 智能语音交互 (有免费白嫖时长)
- 获取token和appkey
- 未来将逐步用其他更廉价的云服务取代阿里云

```
ENABLE_AUDIO = True
ALIYUN_TOKEN = "554a50fcd0bb476c8d07bb630e94d20c" # 例如 f37f30e0f9934c34a992f6f64f7eba4f
ALIYUN_APPKEY = "RoPlZrM88DnAFkZK" # 例如 RoPlZrM88DnAFkZK
ALIYUN_TOKEN = "554a50fcd0bb476c8d07bb630e94d20c" # 此token已经失效
ALIYUN_APPKEY = "RoPlZrM88DnAFkZK" # 此appkey已经失效
```

参考 https://help.aliyun.com/document_detail/450255.html
Expand Down

0 comments on commit 93fe457

Please sign in to comment.