Skip to content

Commit 867b583

Browse files
committed
updated with logo
1 parent 264e947 commit 867b583

File tree

3 files changed

+39
-7
lines changed

3 files changed

+39
-7
lines changed

img/ibm-watson-logo.png

31.3 KB
Loading

rdc-qcon-workshop-overview.md

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -430,19 +430,43 @@ In order to show the scores of each tone, each score needs to be moved into diff
430430

431431
Note that the second `Set` section has been added using the `+ add` button lower-left.
432432

433-
Modify the other `change` nodes to reflect "Joy", "Sadness", "Disgust" and "Fear"
433+
Modify the other `change` nodes in a similar way to reflect "Joy", "Sadness", "Disgust" and "Fear"
434+
435+
The `chart` node will need some configuration to allow it to display the rolling average of the 5 different emotion categories.
436+
437+
![chart-config](img/qcon-chart-config.png)
438+
439+
Click the edit ![edit-icon](img/qcon-config-edit-icon.png) button to establish a default dashboard for the chart.
440+
441+
![dash-default](img/qcon-dashboard-config-default.png)
442+
443+
and click `Add`.
444+
445+
Make sure the `Legend` option is updated to `Show` so you can distinguish between the various lines.
446+
447+
![chart-show](img/qcon-chart-config-show.png)
448+
449+
Once you redeploy the application, following the link to the Dashboard
450+
451+
and you should see the chart building:
452+
453+
![chart-results](img/qcon-emotion-chart.png)
454+
455+
*_Congratulations!_* - you have completed the process of integrating live Twitter with Watson's natural language processing capabilities for identifying emtional tone.
456+
457+
The next Lab will extend this to .
434458

435459
<div style="page-break-after: always;"></div>
436460
### Lab - twitter chatbot setup
437461

438462
Now, a selection of the tweets can be directed to a chatbot service to trigger a response (based on the Watson Assitant service).
439463

440-
Firstly, get hold of an existing Chatbot configuration; for this lab, we will be using one of the Bot definitions in the [IBM Bot Asset Exchange](https://developer.ibm.com/code/exchanges/bots/?s=jay-z)
441-
442-
This bot responds to queries with the lyrics and wisdom of renowned artists [Jay-Z](https://en.wikipedia.org/wiki/Jay-Z).
464+
Firstly, get hold of an existing Chatbot configuration; for this lab, we will be using one of the many Bot definitions in the [IBM Bot Asset Exchange](https://developer.ibm.com/code/exchanges/bots/?s=jay-z)
443465

444466
Click the `Get this bot` option and save the resulting JSON string to a local file. This file will be imported into the Watson Assistant tool shortly.
445467

468+
This bot responds to queries with the lyrics and wisdom of renowned artists [Jay-Z](https://en.wikipedia.org/wiki/Jay-Z).
469+
446470
Yo will need to create an instance of the Watson Assistant service in the IBM Cloud catalog -
447471
![Watson Assistant](img/qcon-catalog-watson-assist.png)
448472

@@ -452,7 +476,7 @@ As before, leave the name to default, create the instance, and then use the `Lau
452476

453477
Select the `Create a Workspace` option
454478

455-
![Wayson Assist create](img/qcon-watson-assist-new.png)
479+
![Watson Assist create](img/qcon-watson-assist-new.png)
456480

457481
And *_carefully_* **NOT** clicking on the `Create` option, select the `Import workspace` icon ![upload](img/qcon-import-workspace-icon.png) and navigate to your saved Jay-Z bot JSON file.
458482

@@ -475,9 +499,17 @@ Using the existing Node-RED flow, select one of the tone category streams from t
475499

476500
You will need the credentials for the Watson Assistant instance, to plug into the node configuration menu. Either:
477501
+ make a connection between the Watson Assitant instance, and your Node-Red application, and after re-stage, the credentials will automatically populate the Watson Conversation nodes
478-
+ copy the credentials from the Watson Assitant instance, and apply directly to the node configuration, and use straight away.
502+
+ copy the credentials from the Watson Assitant instance, and apply directly to the node configuration, and use straight away (as you did previously for the Watson Tone Analyzer service)
503+
504+
![creds](img/qcon-watson-tone-analyzer-credentials.png)
505+
506+
**Note** - you also need the Watson Assistant workspace identifiers to plug in to the node configuration
507+
![tool-menu](img/qcon-watson-assist-menu.png)
508+
Select the `Workspaces` tab, to see access the workspaces in this instance.
509+
![tool-workspaces](img/qcon-watson-assist-tool-workspaces.png)
479510

480-
![creds](img/qcon-jayz-credentials.png)
511+
Click the details menu ![details-icon](img/qcon-assist-menu-icon.png) and select `View details` to view the `Workspace ID` - copy this into the corresponding field in the Node-RED Conversation node configuration panel.
512+
![assist config](img/qcon-assist-config.png)
481513

482514

483515

rdc-qcon-workshop-overview.pdf

141 KB
Binary file not shown.

0 commit comments

Comments
 (0)