Skip to content

Commit

Permalink
feat: support volc engine (#480)
Browse files Browse the repository at this point in the history
* feat: support volc engine

* feat: support volc engine

* feat: support volc engine

* use Pathlib

* address comments
  • Loading branch information
sundy-li committed Apr 18, 2024
1 parent c6492d9 commit 7468331
Show file tree
Hide file tree
Showing 9 changed files with 339 additions and 57 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ ChatGLM [文档](http://open.bigmodel.cn/doc/api#chatglm_130b)
| use_command | 使用 MI command 与小爱交互 | `false` | |
| mute_xiaoai | 快速停掉小爱自己的回答 | `true` | |
| verbose | 是否打印详细日志 | `false` | |
| bot | 使用的 bot 类型,目前支持 chatgptapi,newbing, qwen, gemini | `chatgptapi` | |
| tts | 使用的 TTS 类型 | `mi` | `edge``openai``azure` |
| bot | 使用的 bot 类型,目前支持 chatgptapi,newbing, qwen, gemini | `chatgptapi` | |
| tts | 使用的 TTS 类型 | `mi` | `edge``openai``azure``volc` |
| tts_voice | TTS 的嗓音 | `zh-CN-XiaoxiaoNeural`(edge), `alloy`(openai), `zh-CN-XiaoxiaoMultilingualNeural`(azure) | |
| prompt | 自定义prompt | `请用100字以内回答` | |
| keyword | 自定义请求词列表 | `["请"]` | |
Expand All @@ -178,6 +178,11 @@ ChatGLM [文档](http://open.bigmodel.cn/doc/api#chatglm_130b)
| api_base | 如果需要替换默认的api,或者使用Azure OpenAI 服务 | 例如:`https://abc-def.openai.azure.com/` | |
| azure_tts_speech_key | Azure TTS key | null | |
| azure_tts_service_region | Azure TTS 服务地区 | `eastasia` | [Regions - Speech service - Azure AI services](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/regions) |
| volc_accesskey | 火山引擎accesskey [参考](https://console.volcengine.com/iam/keymanage/) | | |
| volc_secretkey | 火山引擎secretkey [参考](https://console.volcengine.com/iam/keymanage/) | | |
| volc_tts_app | 火山引擎 TTS app 服务 [参考]( https://console.volcengine.com/sami/) | | |
| volc_tts_speaker | 火山引擎 TTS speaker [参考]( https://www.volcengine.com/docs/6489/93478) | `zh_female_qingxin` | |


[这里]: https://github.com/acheong08/EdgeGPT#getting-authentication-required

Expand Down

0 comments on commit 7468331

Please sign in to comment.