# wechat official ai **Repository Path**: zlmk/wechat-official-ai ## Basic Information - **Project Name**: wechat official ai - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-01 - **Last Updated**: 2023-11-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # wechat_official_ai 将讯飞星火AI接入微信公众号 作者-技术爬爬虾,关注微信公众号【技术爬爬虾】,或者B站同名账户【技术爬爬虾】获取后续玩法更新。 转载请注明作者 ### 部署方法 在云服务上部署,云服务器必须有公网IP #### 安装依赖 ``pip3 install -r requirements.txt`` #### 修改配置文件 打开配置文件config.yaml 配置三个参数 cookie fd gtToken 详细获取方式可以参考本文档 https://www.bilibili.com/read/cv27066577/ #### 运行项目 ``sh start.sh`` #### 配置微信公众号 打开微信公众平台 设置与开发-基本配置-服务器配置 将服务器地址(URL)改为 http://xxx.xxx.xxx.xxx:80/wx 其中xxx为云服务器的IP地址 令牌(Token),消息加密钥随意填,消息加密选明文方式,点击启用服务器配置。 #### 使用方法 给公众号发消息,公众号就会给与回答。