An overview of the IBM Bluemix service and how to get started leveraging the Watson APIs for Conversations and Personality Insights. Presented to the Atlanta Collaboration Users Group (ATLUG) for their virtual meeting on August 11, 2016.
2. HANDLY CAMERON
âž Free Agent, available for hire!
âž IBM Champion since 2011
âž Loves to help companies
leverage mobile, cloud, and
collaboration technologies to
drive business value
âž ATLUG and Atlanta WebSphere
Users Group
4. WHAT ARE âCOGNITIVEâ SOLUTIONS
Understands
Human language â voice, ad-hoc questions, natural language dialog
Unstructured data â images and text
Reasons
To develop hypotheses and probabilities â suggests answers,
relationships, correlations
Learns
Adjusts to continued input & feedback â new/changing data, human
expertise, training
5. WHAT IS IBM BLUEMIX?
IBM BLUEMIX - PLATFORM AS A SERVICE
Containers and runtimes
Applications
API Services
7. COLLABORATE AND LISTEN
INJECTING âCOGNITIVEâ IN COLLABORATION
Conversation
Build and train a âchatbotâ to converse in natural language to
determine user intents and entities and to craft responses
Personality Insights
Scan text to extract and analyze a spectrum of personality
attributes, understand your users, and guide interactions
Dialog
Automate branching conversations with a user through natural
language discussion and responding to their unique situation
8. COGNITIVE
CONVERSATION
What is it?
Add a natural language interface to your application to automate interactions
with your end users.
How does it work?
Watson combines a number of cognitive techniques to help you build and train
a bot - deïŹning intents and entities and crafting dialog to simulate conversation.
Example Use Cases
Customer service chatbots
Voice or text control
Virtual agents
9. COGNITIVE
USING THE CONVERSATION SERVICE
Getting started
1. Train Watson to understand your users' input with example
utterances: Intents and Examples
2. Identify the terms that may vary in your users' input: Entities
3. Create the responses to your user's questions: Dialog Builder
4. Test and Improve
Supported Languages
English, Spanish, Brazilian Portuguese, French, and Italian
10. COGNITIVE
DEFINING INTENTS
An Intent is a purpose or goal of a userâs input
Example intents
Example Intent
I canât login #reset_password
Please reset my password #reset_password
Turn on the lights #turn_on
Turn oïŹ the lights #turn_oïŹ
Turn on the engine #turn_on
11. COGNITIVE
DEFINING ENTITIES
An Entity is a purpose or goal of a userâs input, used to
provide a different response or action.
Example intents
Example Entity
Login @password
Password @password
Lights @headlights
Headlights @headlights
Engine @engine
12. COGNITIVE
DEFINING DIALOG
A dialog uses the intent and entity that have been identiïŹed,
plus context from the application, to interact with the user
and ultimately provide a response.
Dialogs are made up of
Nodes
Conditions
Responses
Branches and turns
14. COGNITIVE
PERSONALITY INSIGHTS
What is it?
Enables deeper understanding of people's
personality characteristics, needs, and values
to help engage users on their own terms
How does it work?
Extracts a set of personality and social traits
based on the way a person communicates.
Example Use Cases
Brand Analytics
Market Segmentation & Campaigns
Customer Care
15. COGNITIVE
USING THE PERSONALITY INSIGHTS SERVICE
Simple interactions
Send JSON, text, or HTML via a HTTP POST proïŹle
Receive JSON or CSV with cognitive andâš
social characteristics and analysis data
JavaScript tools are provided to enable graphic visualizationâš
of the results
Software Development Kits
Node.js, Java, Python, and iOS SDKs are provided on GitHub
SDKs use either your Bluemix credentials or an authentication token
16. COGNITIVE
PERSONALITY INSIGHTS - SAMPLE NODE.JS
var watson = require('watson-developer-cloud-alpha');
var my_text = "Call me Ishmael. Some years ago-never mind how long precisely-"+
"having little or no money in my purse, and nothing particular to interest me "+
"on shore, I thought I would sail about a little and see the watery part of "+
"the world. It is a way I have of driving off the spleen and regulating the "+
"circulation. Whenever I ïŹnd myself growing grim about the mouth; whenever it "+
"is a damp, drizzly November in my soul; whenever I ïŹnd myself involuntarily "+
"pausing before cofïŹn warehouses, and bringing up the rear of every funeral I "+
"meet; and especially whenever my hypos get such an upper hand of me, that it "+
"requires a strong moral principle to prevent me from deliberately stepping "+
"into the street, and methodically knocking people's hats off-then, I account "+
"it high time to get to sea as soon as I can.";
var personality_insights = watson.personality_insights({
api_key: 'MmUzNmFjNDUtNzc3NC00YTIzLWI5NDQtOGVjNzc1YTZkNDlmOjl5UVBTdUZxZjgxTA',
version:'v2'
});
personality_insights.proïŹle({ text: my_text }, function (err, response) {
if (err)
console.log('error:', err);
else
console.log(JSON.stringify(response, null, 2));
});
18. GET STARTED NOW
IBM BLUEMIX FREE TRIAL
30-day trial, no credit card
required
2 GB of runtime and container
memory
Unlimited IBM services and
APIs
Complementary support
⊠it may take a day or two for
IBM to set up your account
19. GET STARTED NOW
SAMPLE PRICING
Conversationâš
âš
âš
âš
Personality Insights
Tiers Price
1 - 100 Free!
101 - 100,000 $0.02 USD/api call
100,001 - 250,000 $0.01 USD/api call
250,000+ $0.005 USD/api call
Free Standard
Up to 1,000 API queries/month $0.00890 (USD) per API call
Up to 3 workspaces Unlimited API queries/month
Up to 25 intents Up to 20 workspaces
Shared public cloud Up to 2000 intents
Shared public cloud
23. COMING SOON TO ATLANTA!
Georgia Aquarium, Atlanta, Oct 11, 2016
Keynote:âš
The Society-DeïŹned Society, Forecast: Cloudy with a Chance of Reinvention, Robert Tercek
Who Should Attend:
Discover track: IT Executives and Innovation Leaders
Design track: IT Operations Managers and IT Architects
Develop track: Development Managers and Developers
http://www.ibm.com/events ⊠and search for âAtlantaâ