# qq_bot **Repository Path**: admin_yys/qq_bot ## Basic Information - **Project Name**: qq_bot - **Description**: 基于cqhttp和openai api的qq机器人 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-26 - **Last Updated**: 2024-01-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # qq_bot #### 介绍 基于cqhttp和openai api的qq机器人 #### 使用教程 > 修改配置文件 application-ape.yml ```yaml # openai配置 openai: # 请求代理地址,即转发访问到`https://api.openai.com`的地址,可使用腾讯云函数 vpn: # openai api key apikey: # model model: ``` > 启动项目 运行 BotApplication.java > 启动cqhttp 切换到go-cqhttp目录,选择对应的系统,运行`go-cqhttp`文件 > 扫码登录 首次运行`go-cqhttp`会在控制台打印登录二维码,需要使用手机qq扫码登录。 如果需要切换账号,请删除`session.token`文件后,重新运行`go-cqhttp`