para testear conversations
-
-
Save jgonzal1/b0b50ca80706d648dff18614e52c1e05 to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"d67d75bf.eba3e8","type":"telegram command","z":"ed62cb3e.de1fe8","name":"","command":"/echo","bot":"e7d1b569.6910a8","x":86.5,"y":89,"wires":[["f6691f1d.fa7ac"],[]]},{"id":"f6691f1d.fa7ac","type":"telegram sender","z":"ed62cb3e.de1fe8","name":"","bot":"e7d1b569.6910a8","x":316.5,"y":90,"wires":[[]]},{"id":"7947b15c.699d7","type":"telegram sender","z":"ed62cb3e.de1fe8","name":"","bot":"e7d1b569.6910a8","x":647,"y":233,"wires":[[]]},{"id":"541477a1.269d18","type":"function","z":"ed62cb3e.de1fe8","name":"Prepare for conversation","func":"msg.chatId = msg.payload.chatId;\nmsg.payload = msg.payload.content;\nreturn msg;","outputs":1,"noerr":0,"x":230,"y":320,"wires":[["c4d70663.98ed28"]]},{"id":"392278bd.75e978","type":"function","z":"ed62cb3e.de1fe8","name":"Prepare for Telegram","func":"msg.payload = {\n chatId : msg.chatId,\n type : \"message\",\n content : msg.payload.output.text[0]};\nreturn msg;","outputs":1,"noerr":0,"x":536.5,"y":297,"wires":[["7947b15c.699d7"]]},{"id":"c4d70663.98ed28","type":"watson-conversation-v1","z":"ed62cb3e.de1fe8","name":"","workspaceid":"ba8b7b1b-08c3-40b0-bab6-871d02bf08c1","multiuser":false,"context":true,"empty-payload":false,"default-endpoint":true,"service-endpoint":"https://gateway.watsonplatform.net/conversation/api","x":352,"y":241,"wires":[["392278bd.75e978"]]},{"id":"9b78efed.8d11b","type":"telegram receiver","z":"ed62cb3e.de1fe8","name":"","bot":"e7d1b569.6910a8","saveDataDir":"","x":110,"y":220,"wires":[["541477a1.269d18"],[]]},{"id":"e7d1b569.6910a8","type":"telegram bot","z":"","botname":"CAIB_bot","usernames":"","chatids":""}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment