Leveraging IBM Bluemix for Conversation and Personality Insights

23
HANDLY CAMERON ATLUG AUGUST 11, 2016 LEVERAGING IBM BLUEMIX FOR CONVERSATION AND PERSONALITY INSIGHTS

Transcript of Leveraging IBM Bluemix for Conversation and Personality Insights

Page 1: Leveraging IBM Bluemix for Conversation and Personality Insights

HANDLY CAMERON ATLUG AUGUST 11, 2016

LEVERAGING IBM BLUEMIX FOR CONVERSATION AND PERSONALITY INSIGHTS

Page 2: Leveraging IBM Bluemix for Conversation and Personality Insights

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

Page 3: Leveraging IBM Bluemix for Conversation and Personality Insights

AGENDA

Cognitive Solutions

Bluemix Overview

Having a Conversation

Personality Insights

Get Started Now

Resources and upcoming events

Page 4: Leveraging IBM Bluemix for Conversation and Personality Insights

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

Page 5: Leveraging IBM Bluemix for Conversation and Personality Insights

WHAT IS IBM BLUEMIX?

IBM BLUEMIX - PLATFORM AS A SERVICEContainers and runtimes Applications API Services

Page 6: Leveraging IBM Bluemix for Conversation and Personality Insights

WHAT IS IBM BLUEMIX?

WATSON COGNITIVE APIS

Page 7: Leveraging IBM Bluemix for Conversation and Personality Insights

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

Page 8: Leveraging IBM Bluemix for Conversation and Personality Insights

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 - defining intents and entities and crafting dialog to simulate conversation.

Example Use Cases

Customer service chatbots

Voice or text control

Virtual agents

Page 9: Leveraging IBM Bluemix for Conversation and Personality Insights

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

Page 10: Leveraging IBM Bluemix for Conversation and Personality Insights

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 off the lights #turn_off

Turn on the engine #turn_on

Page 11: Leveraging IBM Bluemix for Conversation and Personality Insights

COGNITIVE

DEFINING ENTITIES

An Entity is a purpose or goal of a user’s input, used to provide a different response or action.

Example intentsExample Entity

Login @password

Password @password

Lights @headlights

Headlights @headlights

Engine @engine

Page 12: Leveraging IBM Bluemix for Conversation and Personality Insights

COGNITIVE

DEFINING DIALOG

A dialog uses the intent and entity that have been identified, 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

Page 13: Leveraging IBM Bluemix for Conversation and Personality Insights

COGNITIVE

CONVERSATION DEMO

Page 14: Leveraging IBM Bluemix for Conversation and Personality Insights

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

Page 15: Leveraging IBM Bluemix for Conversation and Personality Insights

COGNITIVE

USING THE PERSONALITY INSIGHTS SERVICE

Simple interactions

Send JSON, text, or HTML via a HTTP POST profile

Receive JSON or CSV with cognitive andsocial characteristics and analysis data

JavaScript tools are provided to enable graphic visualizationof 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

Page 16: Leveraging IBM Bluemix for Conversation and Personality Insights

COGNITIVE

PERSONALITY INSIGHTS - SAMPLE NODE.JSvar 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 find myself growing grim about the mouth; whenever it "+ "is a damp, drizzly November in my soul; whenever I find myself involuntarily "+ "pausing before coffin 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.profile({ text: my_text }, function (err, response) { if (err) console.log('error:', err); else console.log(JSON.stringify(response, null, 2)); });

Page 17: Leveraging IBM Bluemix for Conversation and Personality Insights

COGNITIVE

PERSONALITY INSIGHTS - RESULTS

Page 18: Leveraging IBM Bluemix for Conversation and Personality Insights

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

Page 19: Leveraging IBM Bluemix for Conversation and Personality Insights

GET STARTED NOW

SAMPLE PRICING

Conversation

Personality Insights

Tiers Price 1 - 100 Free!101 - 100,000 $0.02 USD/api call100,001 - 250,000 $0.01 USD/api call250,000+ $0.005 USD/api call

Free Standard

Up to 1,000 API queries/month $0.00890 (USD) per API callUp to 3 workspaces Unlimited API queries/monthUp to 25 intents Up to 20 workspacesShared public cloud Up to 2000 intents

Shared public cloud

Page 20: Leveraging IBM Bluemix for Conversation and Personality Insights

RESOURCES

HTTPS://WWW.IBM.COM/DEVELOPERWORKS/LEARN/CLOUD/BLUEMIX/SERVICES/INDEX.HTML

Page 21: Leveraging IBM Bluemix for Conversation and Personality Insights

RESOURCES

HTTPS://WWW.IBM.COM/DEVELOPERWORKS/LEARN/CLOUD/BLUEMIX/SERVICES/INDEX.HTML

Page 22: Leveraging IBM Bluemix for Conversation and Personality Insights

RESOURCES

HTTPS://DEVELOPER.IBM.COM/COURSES/ALL-COURSES/BLUEMIX-ESSENTIALS

Page 23: Leveraging IBM Bluemix for Conversation and Personality Insights

COMING SOON TO ATLANTA!

Georgia Aquarium, Atlanta, Oct 11, 2016

Keynote:The Society-Defined 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”