Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SchneeHertz committed Sep 7, 2023
1 parent 908c7b6 commit 511e288
Showing 1 changed file with 9 additions and 42 deletions.
51 changes: 9 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# chat-xiuliu

ChatGPT双向语音助手
ChatGPT双向语音助手, 通过function calling实现访问网络,执行代码,读写文件等功能。

这个项目是由虚拟猫娘休留(直播搞不下去了)的后台fork来的,去掉了弹幕互动的部分,增加了语音输入

截止到2023年8月15日,使用LLM模拟人格的尝试,在我这里没有看到效果及成本可以接受的希望。

所以模拟人格先放下一段时间,再看看未来LLM的发展吧
>这个项目是由虚拟猫娘休留(直播搞不下去了)的后台fork来的,去掉了弹幕互动的部分,增加了语音输入
>截止到2023年8月15日,使用LLM模拟人格的尝试,在我这里没有看到效果及成本可以接受的希望。
>所以模拟人格先放下一段时间,再看看未来LLM的发展吧
## 功能
- 从麦克风或界面接收问题
Expand All @@ -28,9 +26,8 @@ ChatGPT双向语音助手

![setting.jpg](https://raw.githubusercontent.com/SchneeHertz/chat-xiuliu/master/screenshots/setting.jpg)

## 使用说明
- 解压后打开chat-xiuliu.exe, 进入设置
- 填写openai的API key

## 可选语音识别功能
- _下载[whisper-standalone-win](https://github.com/Purfview/whisper-standalone-win)r145.3(最好有张N卡,不然运行时很慢,可选,语音功能)_
- _在whisper-standalone-win的Release和[huggingface](https://huggingface.co/guillaumekln)下载必要的文件,解压到resources/extraResources/whisper文件夹_
```
Expand All @@ -45,41 +42,11 @@ ChatGPT双向语音助手
resources/extraResources/whisper/whisper-faster.exe
resources/extraResources/whisper/zlibwapi.dll
```
- 修改设置的其他部分(可选)
- 设置中本地代理的端口
- 使用的模型,参考openai给出的[模型选项](https://platform.openai.com/docs/models/model-endpoint-compatibility)

### 设置参考
- DEFAULT_MODEL,参考openai给出的[模型选项](https://platform.openai.com/docs/models/model-endpoint-compatibility)
- 如果你使用Azure openai,修改AZURE前缀的设置项,需要同时部署chat和embedding的模型
- AI使用的名字和你的称呼
- AI的语音模型,在[微软文档](https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=tts)查看可用值
- AI的设定
- 函数调用中用到的输出文件夹,以及危险的高级代码解释器
- 保存设置后重启应用

### 配置文件参考
```
{
"OPENAI_API_KEY": "sk-and-48-chars",
"OPENAI_API_ENDPOINT": "https://api.openai.com/v1",
"DEFAULT_MODEL": "gpt-3.5-turbo-16k",
"useAzureOpenai": false,
"AZURE_OPENAI_KEY": "32-chars",
"AZURE_OPENAI_ENDPOINT": "endpoint-name",
"AZURE_API_VERSION": "2023-07-01-preview",
"AZURE_CHAT_MODEL": "gpt-35-turbo-16k",
"AZURE_EMBEDDING_MODEL": "text-embedding-ada-002",
"SpeechSynthesisVoiceName": "zh-CN-XiaoyiNeural",
"ADMIN_NAME": "Chell",
"AI_NAME": "休留",
"systemPrompt": "你是虚拟猫娘休留",
"writeFolder": "D:\\folder_name",
"allowPowerfulInterpreter": false,
"proxyObject": {
"protocol": "http",
"host": "127.0.0.1",
"port": 7890
}
}
```

## 赞助
https://afdian.net/@SeldonHorizon
Expand Down

0 comments on commit 511e288

Please sign in to comment.