mirror of
https://github.com/idootop/mi-gpt.git
synced 2025-04-27 10:17:26 +00:00
docs: 优化调用 AI 进行回复的相关说明和示例
This commit is contained in:
parent
12f7492b27
commit
021b55f3f3
26
docs/faq.md
26
docs/faq.md
@ -8,13 +8,13 @@
|
||||
|
||||
### Q:提示“70016:登录验证失败”,无法正常启动
|
||||
|
||||
账号密码不正确。注意小米 ID 并非手机号或邮箱,请在[「个人信息」-「小米 ID」](https://account.xiaomi.com/fe/service/account/profile)查看。👉 相关 [issue](https://github.com/idootop/mi-gpt/issues/10)。
|
||||
账号密码不正确。注意小米 ID 并非手机号或邮箱,请在[「个人信息」-「小米 ID」](https://account.xiaomi.com/fe/service/account/profile)查看,相关 [issue](https://github.com/idootop/mi-gpt/issues/10)。
|
||||
|
||||
### Q:提示“login failed &&&START&&&{"notificationUrl”,无法正常启动
|
||||
|
||||
这个提示是因为你的小米账号触发了异地登录保护,需要手动安全验证。只需打开小米官网登录你的小米账号,手动通过安全验证即可,然后等待大约 30 分钟之后即可正常登录。
|
||||
小米账号触发了异地登录保护,需要先通过安全验证。打开小米官网登录你的小米账号,手动通过安全验证,然后等待 30 分钟左右应该就可以正常登录了。
|
||||
|
||||
注意:最好使用和你运行 docker 相同的网络环境,如果你是在海外服务器等,非中国大陆网络环境下登录小米账号,需要先同意小米的「个人数据跨境传输」协议。[👉 相关教程](https://github.com/idootop/mi-gpt/issues/22#issuecomment-2150535622)
|
||||
注意:最好使用和你运行 docker 相同的网络环境,如果你是在海外服务器等非中国大陆网络环境下登录小米账号,需要先同意小米的「个人数据跨境传输」协议。[👉 相关教程](https://github.com/idootop/mi-gpt/issues/22#issuecomment-2150535622)
|
||||
|
||||
### Q:提示“ERR_MODULE_NOT_FOUND”,无法正常启动
|
||||
|
||||
@ -30,6 +30,26 @@ docker run --env-file D:/hello/mi-gpt/.env -v D:/hello/mi-gpt/.migpt.js:/app/.mi
|
||||
|
||||
`MiGPT` 收到消息默认不会调用 AI 进行回复,只会回复以唤醒词开头的消息,比如:“请问 xxx”、“你 xxx” 等,你也可以自定义唤醒词(`callAIKeywords`)列表。
|
||||
|
||||
```js
|
||||
// .migpt.js
|
||||
export default {
|
||||
speaker: {
|
||||
// 当消息以下面的关键词开头时,会调用 AI 来回复消息
|
||||
callAIKeywords: ["请", "你", "傻妞"],
|
||||
// ...
|
||||
},
|
||||
};
|
||||
```
|
||||
|
||||
注意:你需要先召唤小爱同学,而非直接对小爱音箱说:“请你 xxx”,这样是无效的,因为还没有唤醒小爱同学,你说的话她接收不到。
|
||||
|
||||
```shell
|
||||
// ❌ 错误示范
|
||||
请问地球为什么是圆的?
|
||||
// ✅ 正确示范
|
||||
小爱同学,请问地球为什么是圆的?
|
||||
```
|
||||
|
||||
### Q:小爱音箱没有播放 AI 的回答,但控制台有打印 AI 的回复
|
||||
|
||||
不同型号的小爱音箱 TTS 指令不同: [issues#5](https://github.com/idootop/mi-gpt/issues/5#issuecomment-2122881495)
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
- ✅ 优化关于小米账号安全验证相关的提示语和使用说明。https://github.com/idootop/mi-gpt/issues/22#issuecomment-2150535622
|
||||
- ✅ 优化关于 Azure OpenAI 配置的说明。https://github.com/idootop/mi-gpt/issues/7
|
||||
- ✅ 优化调用 AI 进行回复的相关说明和示例。
|
||||
- 优化找不到小爱设备的提示文案以及 FAQ 教程。https://github.com/idootop/mi-gpt/issues/28#issuecomment-2153645819
|
||||
- 添加关于唤醒小爱、唤醒词、唤醒模式的说明和注意事项。
|
||||
- ✅ 添加关于 clone 项目本地运行的相关配置教程。
|
||||
|
Loading…
x
Reference in New Issue
Block a user