Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong0618 committed Mar 2, 2023
1 parent 3477046 commit fbcf372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Play ChatGPT with Xiaomi AI Speaker
8. 默认用目前 ubus, 如果你的设备不支持 ubus 可以使用 --use_command 来使用 command 来 tts
9. 使用 --mute_xiaoai 选项,可以让小爱不回答,但会频繁请求,玩一下可以使用,不建议一直用
10. 使用 --account ‘${account}’ --password ‘${password}’ 可以不进行步骤 2
11. 如果有能力可以自行替换唤醒词,也可以去掉唤醒词,源码 ` if query.find("帮我回答") != -1:`
11. 如果有能力可以自行替换唤醒词,也可以去掉唤醒词,源码在 https://github.com/yihong0618/xiaogpt/blob/main/xiaogpt.py#L32
12. 可以使用 gpt-3 的 api 那样可以更流畅的对话,速度快, 请 google 如何用 openai api, 命令 --use_gpt3
13. 可以使用 --use_chatgpt_api 的 api 那样可以更流畅的对话,速度特别快,达到了对话的体验, 请 google 如何用 openai api, 命令 --use_chatgpt_api

Expand All @@ -43,7 +43,7 @@ export OPENAI_API_KEY=${your_api_key}
python3 xiaogpt.py --hardware LX06 --mute_xiaoai --use_gpt3
# 如果你想用 chatgpt api
export OPENAI_API_KEY=${your_api_key}
python3 xiaogpt.py --hardware LX06 --mute_xiaoai --use_chatgpt_api
python3 xiaogpt.py --hardware LX06 --use_chatgpt_api
```

## 注意
Expand Down

0 comments on commit fbcf372

Please sign in to comment.