Giter Club home page Giter Club logo

turing-chat's Introduction

turing-chat

python python3.5 AllahBless apm English

turing-chat是一个开源的微信聊天机器人,基于 littlecodershItChat 项目, 接入图灵机器人提供自然语言回复。

快速开始

  1. 下载/克隆所有文件
git clone [email protected]:CosmoGao/turing-chat.git
  1. 安装Python及依赖包

    • requests

      pip install requests
    • ItChat

      pip install itchat
  2. 注册图灵机器人API,并在同级目录建立“api.inf”文件,将API写入首行

  3. 执行wechat.py

响应消息类型

私聊

消息类型 是否响应 响应方式 输出
文本(emoji) 图灵机器人回复 消息内容
地图 o 图灵机器人回复 消息内容
名片 固定文本 消息内容
通知 × - -
分享链接 图灵机器人回复 消息内容
图片 下载 & 回复表情 存储位置
语音 下载 & 回复表情 存储位置
文件 下载 & 固定文本 存储位置
视频 o 下载 & 回复表情 存储位置
添加好友 加为好友 & 欢迎信息 -

群聊

消息类型 @我 是否响应 响应方式 输出
文本(emoji) 图灵机器人回复 消息内容
文本(emoji) × - 消息内容
图片 - 回复表情 存储位置
其他 - × - -

TODO

  • 兼容性提升
  • 完善、增加新消息类型

实验性功能

尝试利用百度的语音识别API对好友语音进行识别并回复,需要安装 ffmpegpydub 包,并在 wechat.py 中将 enable_voice_rec 置为True

问题建议

任何问题和建议均可提出 Issue 讨论。

协议

MIT

turing-chat's People

Contributors

cosmogao avatar

Watchers

James Cloos avatar Hello Chen avatar

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.