yihong0618 / xiaogpt

Play ChatGPT and other LLM with Xiaomi AI Speaker
MIT License
6.22k stars 874 forks source link

请问把OpenAI APIKEY换成New Bing,怎样设置? #294

Closed ericshirs closed 1 year ago

ericshirs commented 1 year ago

https://github.com/acheong08/EdgeGPT#getting-authentication-required 中的python3 -m pip install EdgeGPT --upgrade起什么作用?是获取bing的cookies吗? 获取cookies之后,怎样启动程序呢?如果用docker,又该怎样启动呢?

morty6688 commented 1 year ago

不需要安装EdgeGPT,只需要用cookie editor导出cookie到一个json文件,然后运行以下命令即可 xiaogpt --hardware LX06 --mute_xiaoai --stream --enable_edge_tts --use_newbing --bing_cookie_path bing_cookies.json

yihong0618 commented 1 year ago

@lijian12345 谢谢

ChenArno commented 1 year ago

请问docker怎么配置的,我将cookis.json跟xiaoaiconfig.json放在同一目录下不生效