Setup & Run
- 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
- follow wechat “Smartcamp”
- Interactive conversation w/ “Smartcamp” as follows:
List of wechat
Component | 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 )
Console Apps
list
- example1.js
- example2.js
- example3.js
- example4.js
How to run
- npm install
- modify credentials
- nodejs exampleX.js
List of nodered
watson-debugMode.json | waston-conversation, running in debug mode |:—–|:——| watson-sockets.js | run in web mode, socket communication
How to modify & debug
- 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)
- web: https://nodered-jon001.eu-gb.mybluemix.net/testing