Source code | Description | reference |
---|---|---|
example1.js | ||
example2.js | ||
example3.js | ||
example4.js |
npm install modify credentials nodejs exampleX.js
Source code | Description | reference |
---|---|---|
watson-debugMode.json | waston-conversation, running in debug mode | |
watson-sockets.json | run in web mode, socket communication |
- create node-red application in IBM Bluemix
- create service watson conversion
- launch node-red application -- web designer
- import flow from above json
- modifiy 'conversation' node property in these flow
debug:
- click flow (left input node)
- https://nodered-jon001.eu-gb.mybluemix.net/info
web:
Source code | Description | Reference |
---|---|---|
tuling.py | wechat robot, w/ Tuling backend API | http://www.tuling123.com |
tuling-specUser.py | chat service, restricted for specific wechat-usergroup | https://github.com/littlecodersh/ItChat |
watson-console.py | console-based example for waston-conversation | |
watson-wechat.py | wechat as client | https://github.com/watson-developer-cloud/python-sdk |
watson-tuling-wechat.py | wechat client + 2*backends ( # for Tuling, #IBM for Watson ) |
- install python runtime
- install itchat: pip install itchat
- apply service from Tuling ( www.tuling123.com )
- apply service & create conversation from IBM Bluemix ( bluemix.net )
- install watson SDK: $ sudo -H pip install --ignore-installed six watson-developer-cloud
- modify credentials
- python xx.py