Leveraging IBM Bluemix for Conversation and Personality Insights

Post on 25-Jan-2017

148 views 1 download

Transcript of Leveraging IBM Bluemix for Conversation and Personality Insights

HANDLY CAMERON ATLUG AUGUST 11, 2016

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

AGENDA

Cognitive Solutions

Bluemix Overview

Having a Conversation

Personality Insights

Get Started Now

Resources and upcoming events

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

WHAT IS IBM BLUEMIX?

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

WHAT IS IBM BLUEMIX?

WATSON COGNITIVE APIS

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

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

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

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

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

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

COGNITIVE

CONVERSATION DEMO

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

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

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)); });

COGNITIVE

PERSONALITY INSIGHTS - RESULTS

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

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

RESOURCES

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

RESOURCES

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

RESOURCES

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

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”