Git Product home page Git Product logo

wechat_official_ai's Introduction

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),消息加密钥随意填,消息加密选明文方式,点击启用服务器配置。

使用方法

给公众号发消息,公众号就会给与回答。

wechat_official_ai's People

Contributors

noobhumiliator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

wechat_official_ai's Issues

不回复消息

通过微信给服务器发送一个消息,当该消息会让AI回复很长时间(长时间响应)时,尽管服务器端能够打印出回复的日志,但是不会反馈(回复)给微信用户。
image
image
从截图可以看出,微信用户的“?”问号回复了,但是对于上句在服务器端有响应,但是没有回复给微信

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.