thx114 / SDGPT-BOT

基于 NoneBot 的机器人 / 链接到 ChatGPT + Bing + Stable-Diffusion / q群与qq频道支持
MIT License
16 stars 1 forks source link
bing bot chatgpt chatgpt-api go-cqhttp nonebot openai qq qqbot stable-diffusion

SDGPT-BOT

基于 NoneBot2

本机器人为一键式,插件中包含了cqhttp,直接运行机器人,会自带qq实例

功能

链接 ChatGPT / Bing / Poe / Stable-Diffusion :

指令与功能: SDGPT-CommandAndFunction

效果

image image

使用

  1. 
    git clone https://github.com/thx114/SDGPT-BOT.git
  2. pip install -r requirements.txt
    pip install nonebot-plugin-SDGPT --upgrade
    python -m pip install --user pipx
    pipx install nb-cli
  3. 运行 run.bat 或 nb run

  4. 关闭,修改 config.cfg,重新启动

  5. 打开日志提示中的gocqhttp链接:
    一般为 http://127.0.0.1:8080/go-cqhttp/

  6. 添加账号 > ( 登录设备最好选 ipad 或 MacOS )

  7. 启动

Stable-Diffusion 配置:

--server-name 127.0.0.1 --port 7860 --api

单独插件

如果你想以NoneBot的插件形式安装: SDGPT

more

QQ 群 391517834
SDGPT

NoneBot
ChatGPT
EdgeGPT
SD-api