From 2bd369913032a515ff929f153a35814dd4b16733 Mon Sep 17 00:00:00 2001 From: chughts Date: Thu, 24 May 2018 19:10:26 +0200 Subject: [PATCH 1/2] Allow endpoint to be selected --- package.json | 23 ++++++++++++----------- services/visual_recognition/v3.html | 18 ++++++++++++++++++ 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 38333c08..27471a57 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-watson", - "version": "0.6.13", + "version": "0.6.14", "description": "A collection of Node-RED nodes for IBM Watson services", "dependencies": { "async": "^1.5.2", @@ -9,13 +9,13 @@ "request": "~2.86.0", "temp": "^0.8.3", "qs": "6.x", - "image-type": "^2.0.2", - "watson-developer-cloud": "^3.3.0", + "image-type": "^2.0.2", + "watson-developer-cloud": "^3.4.2", "kuromoji": "^0.1.1", "word-count": "^0.2.2", "is-docx": "^0.0.3", - "stream-to-array" : "^2.3.0", - "ws" : "^4.1.0" + "stream-to-array": "^2.3.0", + "ws": "^4.1.0" }, "repository": { "type": "git", @@ -27,18 +27,19 @@ "bluemix", "watson" ], - "contributors": [ { + "contributors": [ + { "name": "Soheel Chughtai", "email": "soheel_chughtai@uk.ibm.com" } ], "node-red": { "nodes": { - "watson-conversation-v1":"services/conversation/v1.js", - "watson-conversation-workspace-manager-v1":"services/conversation/v1-workspace-manager.js", - "watson-discovery-v1":"services/discovery/v1.js", - "watson-discovery-v1-document-loader":"services/discovery/v1-document-loader.js", - "watson-discovery-v1-query-builder":"services/discovery/v1-query-builder.js", + "watson-conversation-v1": "services/conversation/v1.js", + "watson-conversation-workspace-manager-v1": "services/conversation/v1-workspace-manager.js", + "watson-discovery-v1": "services/discovery/v1.js", + "watson-discovery-v1-document-loader": "services/discovery/v1-document-loader.js", + "watson-discovery-v1-query-builder": "services/discovery/v1-query-builder.js", "watson-language-translator-v2": "services/language_translator/v2.js", "watson-language-translator-identify-v2": "services/language_translator_identify/v2.js", "watson-language-translator-util-v2": "services/language_translator_util/v2.js", diff --git a/services/visual_recognition/v3.html b/services/visual_recognition/v3.html index 62db7b79..32158591 100644 --- a/services/visual_recognition/v3.html +++ b/services/visual_recognition/v3.html @@ -24,6 +24,14 @@ +
+ + +
+
+
+ + +
+