参考资料:
GitHub - yihong0618/xiaogpt: Play ChatGPT and other LLM with Xiaomi AI Speaker
*.设置运行脚本权限
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
*.配置小米音箱
()pip install miservice_fork
-i https://pypi.tuna.tsinghua.edu.cn/simple
()PowerShell输入账号密码
$env:MI_USER=""
$env:MI_PASS=""
()micli list获取did
*.运行
pip install -U --force-reinstall xiaogpt
配置config.json
python xiaogpt.py --config xiao_config.json