Skip to content

Commit 9c0b46b

Browse files
committed
added description and removed console log
1 parent 9290e6c commit 9c0b46b

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

services/tone_analyzer/v3-beta.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<p>The service response will be returned on <b>msg.response</b>.</p>
5858
<p>Usng the node editor dialog users can filter the results by tone (emotion, writing or social) and whether to include sentence-level analysis.</p>
5959
<p>For more information about the Tone Analyzer service, read the <a href="https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/tone-analyzer.html">documentation</a>.</p>
60+
<p><b>NB:</b> This is the old beta version and it is only being retained for backward compatibility for anyone that has old credentials. It will no longer work with new credentials.</p>
6061
</script>
6162

6263
<script type="text/javascript">

services/tone_analyzer/v3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
</script>
6060

61-
<script type="text/x-red" data-help-name="watson-tone-analyzer">
61+
<script type="text/x-red" data-help-name="watson-tone-analyzer-v3">
6262
<p>The Tone Analyzer service uses linguistic analysis to detect emotional tones, social propensities, and writing styles in written communication.</p>
6363
<p>The text to analyze should be passed in on <b>msg.payload</b>.</p>
6464
<p>The service response will be returned on <b>msg.response</b>.</p>

services/tone_analyzer/v3.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ module.exports = function (RED) {
8787
options.tones = tones;
8888
}
8989

90-
console.log(options);
91-
9290
node.status({fill:'blue', shape:'dot', text:'requesting'});
9391
tone_analyzer.tone(options, function (err, response) {
9492
node.status({})

0 commit comments

Comments
 (0)