View
208
Download
3
Category
Preview:
Citation preview
IBM Watson Work Services
Introduction to IBM Watson Work Services Development
IBM Watson Work Services
Today’s speakers are awesome Alan Hamilton – Channel Technical Leader Europe Luis Benitez – Offering Lead Watson Workspace & Services Van Staub – Embedded Technical Sales Americas Steve Lievens – Collaboration Solutions Architect
IBM Watson Work Services
Agenda1. Introduction to Watson Work Services 2. Developing Your First App3. Developer Environment Setup4. Next Steps5. Q&A
IBM Watson Work Services
Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services (Cognitive Services and APIs)
SummarizationAction identification Moments
Cognitive services that understand conversations
IBM Watson APIs
... and more!
ChatProjectManagement
Voice / Video TalentManagement
CRMEmail
IBM Watson Work Services
IBM COGNITIVE COLLABORATION AS A SERVICE
Connections Watson Workspace Box Actiance Salesforce
Verse IoT
Ricoh
Cisco Spark …
Custom Bot
Retrieve and Rank Instance
Custom Trained NLC
Custom Entity Models
COLLABORATIVE SOLUTION
DISAMBIGUATION WITH SOCIAL GRAPHS (CONNECTIONS, VERSE …)
BOTS
Watson Alchemy Language
IDENTIFYMOMENTS SUMMARIZE PRIORITIZE AND
ORGANIZE
Apache SystemML,
Apache Spark
Watson NLC, Alchemy
Language, Tone Analyzer,
parts of Debater
FOCUS WITH LENSES
Watson Conversations,
Retrieve and Rank
Watson NLC, Conversations,
System-T
consumed in
extended with
IBM Watson Work Services
IBM Watson Work Services
Watson Workspace,
the app
Watson Work Services,
the platform
(developer apps)
IBM Watson Work Services
IBM Watson Work Services
Developing Your First
App
IBM Watson Work Services
My First BotTodo-Bot monitors conversations, identifies actions, and creates todos.
https://github.com/van-ibm/watsonwork-bot-seed
IBM Watson Work Services
Todo-BotBuilt with Node.js using Express and other open source packages.It’s 3 files.It’s simple to get started.
IBM Watson Work Services
Anatomy of a Bot Accept the webhook verification and authenticate itself (or the
user) Likely ignore messages from itself Listen for events from spaces Maybe interact with users Do something interesting or call an external service
IBM Watson Work Services
Webhooks message-createdspace-members-addedspace-members-removedmessage-annotation-added
message-annotation-edited
message-annotation-removed
allow your app to listen for events that occur in a space.
IBM Watson Work Services
Annotations
message annotation
nlp
entities
keywords
doc-sentiment
relations
concepts
taxonomy
dates
moment
focus
ActionRequest
Add
Create
Delete
Modify
Open
Schedule
Send
Commitment
Question
provide an analysis of text within a message.
IBM Watson Work Services
“To do or not to do, that is the question.”
IBM Watson Work Services
Beware of Design Pitfallssuch as echos echos echos.
nlp
Todo-bot
ActionRequest
IBM Watson Work Services
IBM Watson Work Services
Focus APIanalyzes arbitrary text looking for actions or questions.
IBM Watson Work Services
GraphQL Data retrieval and
creation language Consolidates
multiple data calls or services into one
https://workspace.ibm.com/graphql
IBM Watson Work Services
Your App Herecombine Watson Work Services, GraphQL and annotations to build your own custom application
IBM Watson Work Services
Developer Environme
nt Setup
IBM Watson Work Services
Today we zoom in on Node.js and Bluemix ... Workspace samples on Github are written in Node.js If you haven’t looked at Node.js before ... it’s worth checking out. Webhooks require an internet accessible runtime ... Bluemix
makes this easy
... but of course you can do IBM Workspace development in your language of choice ... it’s not my goal to change your religion
This is a story of a Java developer taking his first steps ...
IBM Watson Work Services
Tooling ... is really a matter of choice Notepad ++ Atom WebStorm ... Bluemix CLI
or maybe this ...
IBM Watson Work Services
Download links
Prerequisite : install node.js and npm (node package manager)
https://nodejs.org
Eclipse : http://eclipse.bluemix.net
Bluemix Eclipse Plugin http://marketplace.eclipse.org/content/ibm-eclipse-tools-bluemix
IBM Node.js Eclipse Plugin http://marketplace.eclipse.org/content/ibm-nodejs-tools-eclipse
IBM Watson Work Services
IBM Node.js Tools for Eclipse
IBM Watson Work Services
When all is installed, you get this
IBM Watson Work Services
Use the “Node” Perspective
IBM Watson Work Services
Make sure you have
the “Servers”
view
IBM Watson Work Services
IBM Watson Work Services
Let’s setup our Bluemix Environment !
IBM Watson Work Services
Select IBM Bluemix
IBM Watson Work Services
Fill in your credentials
Choose your region
IBM Watson Work Services
Select your org and space
Typically you would have one org and one space
IBM Watson Work Services
We don’t have any projects yet to add, so just hit Finish
IBM Watson Work Services
All done : Bluemix Environment configured !
If you have other Apps in your account, you see them here
IBM Watson Work Services
Ready to start our first project !!!
IBM Watson Work Services
Give it a name
IBM Watson Work Services
Choose Hello World
IBM Watson Work Services
IBM Watson Work Services
Run it
IBM Watson Work Services
IBM Watson Work Services
Let’s take a sample – the sentiment analysis bot
https://github.com/watsonwork/watsonwork-sentiment
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
Use npm to bring in the dependencies
IBM Watson Work Services
IBM Watson Work Services
Run it
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
Time to push it to Bluemix !!
!Right Click,Add and Remove
IBM Watson Work Services
Select your project and ‘Add’
IBM Watson Work Services
Finish !
IBM Watson Work Services
Give it a name (will be visible in Bluemix)
IBM Watson Work Services
Choose your hostname
& memoryTake a note of that hostname, we’ll need it later !!!
IBM Watson Work Services
Bind to an existing service (optional)
IBM Watson Work Services
Add environment variables (optional)
and Finish !
IBM Watson Work Services
Pushing to Bluemix ... sit back and relax
IBM Watson Work Services
You now have a runtime in your Bluemix Console
IBM Watson Work Services
Time to register the app
https://workspace.ibm.com/developer
IBM Watson Work Services
Time to register our app !
IBM Watson Work Services
Name, Description,Events,URL
IBM Watson Work Services
Done !Important to know : make sure the webhook callback hostname is known on the internet, as a DNS check is performed at registration time.
Copy / Paste this info and keep it some place safe !!!
IBM Watson Work Services
Bring in the IDs and Keys
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
IBM Watson Work Services
Enable the webhook
IBM Watson Work Services
IBM Watson Work Services
Let’s test !
IBM Watson Work Services
IBM Watson Work Services
Let’s do a small update in the app ...
IBM Watson Work Services
IBM Watson Work Services
Right click
... and Push !
IBM Watson Work Services
The Bluemix plugin
takes care of
everything
IBM Watson Work Services
And one minute later we can test it
IBM Watson Work Services
And a few days later ... something like this
IBM Watson Work Services
Next Steps
IBM Watson Work Services
Next Steps Samples, Samples, Samples!
http://github.com/watsonwork (Official) http://github.com/van-ibm (Javascript) https://github.com/OpenCode4Workspace/ (Java & Python) https://github.com/fdescollonges/wwsNodes (Node-RED)
Learn about our APIs http://developer.watsonwork.ibm.com
Start using IBM Watson Workspace http://workspace.ibm.com
Questions? http://help.workspace.ibm.com
IBM Watson Work Services
Happy Coding !!!
Recommended