Code Monkey home page Code Monkey logo

weixin-robot's Introduction

weixin-robot

毕业设计---基于python的微信公众平台机器人的设计与实现

用到了几个技术

  1. NGINX做负载均衡,反向代理

nginx.conf是nginx配置文件,如何配置请参考网上教程

  1. 使用mysql数据库

数据库连接在config.py中配置,配置好主机,用户名和密码之后,新建一个数据库,数据库名为'weixin-robot',然后运行db_creat.py脚本创建数据库,db_migrate.py脚本用来迁移数据库(存在一些问题,和数据库软件有关?)

  1. supervisor作进程管理工具

supervisord.conf是supervisor的配置文件,如何配置请参考网上教程

  1. 后台管理系统采用adminlte(基于bootstrap3)框架,效果如下:
  • 登录界面:

image

  • 后台管理界面

image

  1. aiml 全称Artificial Intelligence Markup Language(人工智能标记语言)

语法官方文档中有说明,对中文支持还算好,app/aiml_set文件夹存放aiml语料

  1. BeautifulSoup爬虫

作为机器人的几个附加功能,有知乎问答,百度关键字查询

  1. 图灵机器人api调用

注册一个账号,调用图灵api,解析封装返回微信即可

  1. 动态语料库

将语料添加到数据库中,


微信公众号二维码

image

weixin-robot's People

Contributors

autodataming avatar w940853815 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

autodataming

weixin-robot's Issues

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.