第1步:获取自己openai的apikey https://platform. openai. com 第2步:远程服务器 https://aws.amazon.com/cn/free/?trk=fd7c7b1e-b1bb-4289-adb5-8ae0ee304f4dsc_channel=smcampaign=video2462 第三步:下载一个FinalShell https : / / www.hostbuf.com/t/988.html 第四步:用FinalShell连接你的远程服务器 第五步:在远程服务器上安装必要的系统环境更新软件包列表并安装必备组件 $ sudo apt update $ sudo apt install software-properties-common $ sudo add-apt-repository ppa:deadsnakes/ppa $ sudo apt install python3.8 $ sudo apt-get install python3-pip $ git clone https://github.com/zhayujie/chatgpt-on-wechatcd cd chatgpt-on-wechat/ pip3 install -r requirements.txt #必选依赖 pip3 install -r requirements-optional.txt #可选依赖,语音、tool插件等功能需要 cp config-template. json config.json
www.bilibili.com