接入chatgpt到各种平台(公众号,telegram等)
3.0K
视频教程:TODO
文字教程:https://www.techxiaofei.com/post/chatgpt/wechat_mp/
Github: https://github.com/techxiaofei/bot-on-anything
点此链接注册购买有优惠: http://bit.ly/3GlfucW 付款时输入 RAKBL9 有9折优惠
API Key获取地址:https://platform.openai.com/
Access Token获取地址:https://chat.openai.com/api/auth/session
# 更新包管理器
sudo apt-get update
# 安装docker
apt install docker.io -y
# 下载docker镜像
docker pull techxiaofei/bot-on-anything:latest
# 给镜像打标签
docker tag techxiaofei/bot-on-anything bot-on-anything
# 下载配置文件(公众号版)
wget -O config.json https://raw.githubusercontent.com/techxiaofei/resource/main/config/chatgpt/official/config.json
# 后台运行
docker run --name bot-on-anything -d -p 0.0.0.0:80:80 -v "$(pwd)/config.json:/app/config.json" bot-on-anything python app.py
# 查看log
docker logs -f bot-on-anything
Content type
Image
Digest
sha256:a629121f5…
Size
36.6 MB
Last updated
over 3 years ago
docker pull techxiaofei/bot-on-anything