SlideShare a Scribd company logo
IBM Watson Assistant
Introduction
Setting Up working example Using Nodejs
What is Watson Assistant ?
• Watson Assistant is an AI assistant for business.
• Watson Assistant is an offering for building conversational
interfaces into any application, device, or channel.
Why Watson Assistant ?
• Most chatbots try to mimic human interactions, which can
frustrate users when a misunderstanding arises.
• Watson Assistant is more. It knows when to search for an
answer from a knowledge base, when to ask for clarity,
and when to direct you to a human.
• Watson Assistant can run on any cloud – allowing
businesses to bring AI to their data and apps wherever
they are.
Architecture
Architecture: Nodejs
Nodejs Server
IBM Watson Assistant Service
Web
Client
Intent, Enteties, DialoguesSkills
Input Information
Assistant
IBM Watson Assistant Service
Skills: Customer Care
Assistant
Skills:Banking
#Intent:Appointment #Intent:Store Location #Intent
@Entities:Holiday @Entities:Phone @Entities:Specialist
Dialog
Oppening
Hours of Operation
Make an Appointment
IBM Watson Assistant
Service
Intent, Enteties, DialoguesSkills
Input Information
Assistant
Skill
• A skill is an atomic, reusable program that represents a capability in a
specific domain.
• for example, providing weather forecasts or controlling your IOT
devices in your home, such as your thermostat and lighting.
• Users converse with skills to automate tasks or to make decisions.
Key artifacts of a skill
• Intents
• Entities
• Dialog
IBM Watson Assistant
Service
Intent, Enteties, DialoguesSkills
Input Information
Assistant
• Intents
Goals that you anticipate your users will have when they
converse with the skill.
A user goal when conversing with a weather skill is to get the
forecast
IBM Watson Assistant
Service
Intent, Enteties, DialoguesSkills
Input Information
Assistant
• Intents
The following are examples of intent names:
#weather_conditions
#pay_bill
#escalate_to_agent
The following might be examples for the
#pay_bill intent:
I need to pay my bill.
Pay my account balance make a payment
• Entities
Objects or terms that your users might use in their utterance,
which provide context for an intent.
For example, an entity might be a city name, which helps the
routing core determine which city to provide a forecast for.
IBM Watson Assistant
Service
Intent, Enteties, DialoguesSkills
Input Information
Assistant
• Entities
For example, you might have a #buy_something intent.
When a user makes a request that triggers the #buy_something intent,
the assistant's response should reflect an understanding of what the
something is that the customer wants to buy.
You can add a @product entity, and then use it to extract information
from the user input about the product that the customer is interested in
you can add multiple responses to your dialog tree with wording that
differs based on the @product value that is detected in the user's request
• Dialog
The flow of conversation between the user and the skill or skills.
When a skill receives a converse request, a condition is
evaluated and an action is triggered.
A condition might include a specific intent, such as
#get_weather. A response might be "today will be sunny with
clear skies"
IBM Watson Assistant
Service
Intent, Enteties, DialoguesSkills
Input Information
Assistant
Information available to your skills
• With Watson Assistant Solutions, you can create AI assistants that converse
with multiple skills.
• As a skill developer, you can use several features that enhance the conversation
flow with a single skill and the conversation flow between multiple skills.
• You can add intelligence to your skills to respond in a personalized way and to
enhance routing
The following types of information to add intelligence to your skills
• Profile information
Information about the user that remains relatively unchanged, for
example, their email address.
Instead of each skill managing profile data separately, using the
Profile REST API, you can store this information in a central
location for all skills to use.
The following types of information to add intelligence to your skills
• Information that changes frequently, such as current location or the time of day. You can configure
context variables to include:
Session context
Context information that is available to all skills. For example, when a user asks "What's on in
the cinema tonight", an entertainment skill captures the time of day in the session context.
Built-in shared context
Context information that is available to all skills. Unlike session context information, information
in the built-in shared context must be in a prescribed format and is restricted to a specific set of
fields.
For example, when a user asks "What's the weather like in Manhattan", the weather skill stores
Manhattan in the last referenced location variable. Later when a user asks "Any concerts on
there", the events skill accesses the variable and provides an event listing for Manhattan.
Contextual information
Skill context
Context information that enhances the flow of conversation within a skill. For example, when a user
says "I'm looking for an open-air concert", the entertainment skill captures the event type in the skill
context.
Later in the conversation, when the user asks the assistant "Are there any free ones on today", the
entertainment skill knows from the skill context that the user is asking for a free open-air concert. "
Utterance context
Context information, such as your current location, that is sent by your edge device in the utterance.
The utterance context might capture whether the user is at home or in her car. A skill might use a
different response depending on the utterance context.
For example, when a user is at home and asks for a cinema listing, the film poster is sent with the
response.
In this sample application, you're engaging with a banking virtual assistant/Customer
The assistant simulates a few scenarios, such as making a credit card payment, boo
Watson can understand your entries and respond accordingly
Application Example ?
Prerequisites - Setting up : IBM Watson Assistant Service
• Sign up for an IBM Cloud account.
• Create an instance of the Watson Assistant service and get your credentials:
• Go to the Watson Assistant page in the IBM Cloud Catalog.
• Log in to your IBM Cloud account.
• Click Create.
• Click Show to view the service credentials.
• Copy the apikey value.
• Copy the url value.
Credentials
Three Steps to follow
Step 1
Step 1 Cont.
Step 2
Step 2 Cont.
Step 2 Cont.
https://github.com/watson-developer-cloud/assistant-demo.git
Running Client Locally: Nodejs
In the application folder, copy the .env.example file and create a file called .env
Open the .env file and add the service credentials that you obtained in the previous step.
Download the example Nodejs source code :Client
IBM Watson assistant
Running Client Locally
Local Host
IBM Watson assistant

More Related Content

PDF
IBM Watson Overview
PPTX
Data mining in retail industry
PPTX
final presentation fake news detection.pptx
PPTX
Introduction to Data Science.pptx
PPTX
introduction Azure OpenAI by Usama wahab khan
PDF
the-secret-tamil.pdf the-secret-tamil.pdf
PPTX
FAKE NEWS DETECTION (1).pptx
PPTX
Google colab introduction
IBM Watson Overview
Data mining in retail industry
final presentation fake news detection.pptx
Introduction to Data Science.pptx
introduction Azure OpenAI by Usama wahab khan
the-secret-tamil.pdf the-secret-tamil.pdf
FAKE NEWS DETECTION (1).pptx
Google colab introduction

What's hot (20)

PPTX
Internship Presentation 2 Web Developer
PPTX
IBM Watson
PPTX
Chatbot ppt
DOCX
Computer science seminar topics
PPTX
Chatbot Abstract
PDF
WEB I - 01 - Introduction to Web Development
PPTX
Introduction To Web Accessibility
PPTX
Conversational AI: What's New?
PPTX
Learn Prompting with ChatGPT
PPTX
Ppt full stack developer
PPTX
Ai chatbot
PPTX
Web-Development-ppt.pptx
PPTX
ChatGPT 101.pptx
PPTX
Build a Chatbot with IBM Watson - No Coding Required
PPTX
AI Agent and Chatbot Trends For Enterprises
PDF
Introduction to Chat GPT
PDF
Artificial Intelligence Overview PowerPoint Presentation Slides
PDF
Landscape of AI/ML in 2023
PDF
Introduction to HTML5
PPT
Web 3.0
Internship Presentation 2 Web Developer
IBM Watson
Chatbot ppt
Computer science seminar topics
Chatbot Abstract
WEB I - 01 - Introduction to Web Development
Introduction To Web Accessibility
Conversational AI: What's New?
Learn Prompting with ChatGPT
Ppt full stack developer
Ai chatbot
Web-Development-ppt.pptx
ChatGPT 101.pptx
Build a Chatbot with IBM Watson - No Coding Required
AI Agent and Chatbot Trends For Enterprises
Introduction to Chat GPT
Artificial Intelligence Overview PowerPoint Presentation Slides
Landscape of AI/ML in 2023
Introduction to HTML5
Web 3.0
Ad

Similar to IBM Watson assistant (20)

PDF
Webinar - Building a ChatBot using IBM Watson Conversation Service
PDF
IBM Watson - Cognitive Robots
PPTX
Watson Conversation Services and Virtual Assistant - Basic Summary
PDF
CV_PurnimaBalla_WCS-Consultant_7Yrs
PPTX
Azure Chat Bot application
PDF
Building your own chat bot with Amazon Lex - Hebrew Webinar
PPTX
ConnectPath Introduction
PDF
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
PPTX
Digital Transformation Services and Solutions - Chatbot Development
PPTX
ferret_company_facts_en(30.03.17)
PPTX
Building custom skills with Amazon Alexa
PPTX
Palsoft company information
PPTX
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
PDF
introductiontoalexaskillskit-160426090427.pdf
PDF
Presentation for ArenaLviv 2017
PDF
Jeh Daruvala - MVC 2016 - Talking Computers as Sales Agents
PPTX
Web services have made the development of mobile Web applications much easier...
PDF
Microsoft BotFramework - Global AI Bootcamp Nepal 2022
PPT
Castle in the Clouds: SaaS Enabling JavaServer™ Faces Applications (JavaOne 2...
PPTX
IBM Watson Innovation Day
Webinar - Building a ChatBot using IBM Watson Conversation Service
IBM Watson - Cognitive Robots
Watson Conversation Services and Virtual Assistant - Basic Summary
CV_PurnimaBalla_WCS-Consultant_7Yrs
Azure Chat Bot application
Building your own chat bot with Amazon Lex - Hebrew Webinar
ConnectPath Introduction
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
Digital Transformation Services and Solutions - Chatbot Development
ferret_company_facts_en(30.03.17)
Building custom skills with Amazon Alexa
Palsoft company information
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
introductiontoalexaskillskit-160426090427.pdf
Presentation for ArenaLviv 2017
Jeh Daruvala - MVC 2016 - Talking Computers as Sales Agents
Web services have made the development of mobile Web applications much easier...
Microsoft BotFramework - Global AI Bootcamp Nepal 2022
Castle in the Clouds: SaaS Enabling JavaServer™ Faces Applications (JavaOne 2...
IBM Watson Innovation Day
Ad

More from Prem Sanil (14)

PPTX
Cpu steal time
PPTX
MQTT IOT Protocol Introduction
PPTX
Cloud service models
PPTX
IBM Cloud Virtual Server/Machine - Setting up and Access
PDF
Google cloud MEAN js
PDF
REST API and CRUD
PDF
Bootstrap
PDF
Nodejs
PDF
MVC Architecture
PDF
JavaScript Style guides
PDF
Cloud Hosted mongodb
PDF
Mean Stack Vs Meteor js
PPTX
Modbus introduction
PPTX
Stm32f303 rest and Clock contol
Cpu steal time
MQTT IOT Protocol Introduction
Cloud service models
IBM Cloud Virtual Server/Machine - Setting up and Access
Google cloud MEAN js
REST API and CRUD
Bootstrap
Nodejs
MVC Architecture
JavaScript Style guides
Cloud Hosted mongodb
Mean Stack Vs Meteor js
Modbus introduction
Stm32f303 rest and Clock contol

Recently uploaded (20)

PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Digital Strategies for Manufacturing Companies
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Essential Infomation Tech presentation.pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
L1 - Introduction to python Backend.pptx
PDF
top salesforce developer skills in 2025.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Upgrade and Innovation Strategies for SAP ERP Customers
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Digital Strategies for Manufacturing Companies
Wondershare Filmora 15 Crack With Activation Key [2025
Reimagine Home Health with the Power of Agentic AI​
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms II-SECS-1021-03
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Essential Infomation Tech presentation.pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
CHAPTER 2 - PM Management and IT Context
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Understanding Forklifts - TECH EHS Solution
Design an Analysis of Algorithms I-SECS-1021-03
L1 - Introduction to python Backend.pptx
top salesforce developer skills in 2025.pdf

IBM Watson assistant

  • 1. IBM Watson Assistant Introduction Setting Up working example Using Nodejs
  • 2. What is Watson Assistant ? • Watson Assistant is an AI assistant for business. • Watson Assistant is an offering for building conversational interfaces into any application, device, or channel.
  • 3. Why Watson Assistant ? • Most chatbots try to mimic human interactions, which can frustrate users when a misunderstanding arises. • Watson Assistant is more. It knows when to search for an answer from a knowledge base, when to ask for clarity, and when to direct you to a human. • Watson Assistant can run on any cloud – allowing businesses to bring AI to their data and apps wherever they are.
  • 5. Architecture: Nodejs Nodejs Server IBM Watson Assistant Service Web Client Intent, Enteties, DialoguesSkills Input Information Assistant
  • 6. IBM Watson Assistant Service Skills: Customer Care Assistant Skills:Banking #Intent:Appointment #Intent:Store Location #Intent @Entities:Holiday @Entities:Phone @Entities:Specialist Dialog Oppening Hours of Operation Make an Appointment
  • 7. IBM Watson Assistant Service Intent, Enteties, DialoguesSkills Input Information Assistant Skill • A skill is an atomic, reusable program that represents a capability in a specific domain. • for example, providing weather forecasts or controlling your IOT devices in your home, such as your thermostat and lighting. • Users converse with skills to automate tasks or to make decisions.
  • 8. Key artifacts of a skill • Intents • Entities • Dialog IBM Watson Assistant Service Intent, Enteties, DialoguesSkills Input Information Assistant
  • 9. • Intents Goals that you anticipate your users will have when they converse with the skill. A user goal when conversing with a weather skill is to get the forecast IBM Watson Assistant Service Intent, Enteties, DialoguesSkills Input Information Assistant
  • 10. • Intents The following are examples of intent names: #weather_conditions #pay_bill #escalate_to_agent The following might be examples for the #pay_bill intent: I need to pay my bill. Pay my account balance make a payment
  • 11. • Entities Objects or terms that your users might use in their utterance, which provide context for an intent. For example, an entity might be a city name, which helps the routing core determine which city to provide a forecast for. IBM Watson Assistant Service Intent, Enteties, DialoguesSkills Input Information Assistant
  • 12. • Entities For example, you might have a #buy_something intent. When a user makes a request that triggers the #buy_something intent, the assistant's response should reflect an understanding of what the something is that the customer wants to buy. You can add a @product entity, and then use it to extract information from the user input about the product that the customer is interested in you can add multiple responses to your dialog tree with wording that differs based on the @product value that is detected in the user's request
  • 13. • Dialog The flow of conversation between the user and the skill or skills. When a skill receives a converse request, a condition is evaluated and an action is triggered. A condition might include a specific intent, such as #get_weather. A response might be "today will be sunny with clear skies" IBM Watson Assistant Service Intent, Enteties, DialoguesSkills Input Information Assistant
  • 14. Information available to your skills • With Watson Assistant Solutions, you can create AI assistants that converse with multiple skills. • As a skill developer, you can use several features that enhance the conversation flow with a single skill and the conversation flow between multiple skills. • You can add intelligence to your skills to respond in a personalized way and to enhance routing
  • 15. The following types of information to add intelligence to your skills • Profile information Information about the user that remains relatively unchanged, for example, their email address. Instead of each skill managing profile data separately, using the Profile REST API, you can store this information in a central location for all skills to use.
  • 16. The following types of information to add intelligence to your skills • Information that changes frequently, such as current location or the time of day. You can configure context variables to include: Session context Context information that is available to all skills. For example, when a user asks "What's on in the cinema tonight", an entertainment skill captures the time of day in the session context. Built-in shared context Context information that is available to all skills. Unlike session context information, information in the built-in shared context must be in a prescribed format and is restricted to a specific set of fields. For example, when a user asks "What's the weather like in Manhattan", the weather skill stores Manhattan in the last referenced location variable. Later when a user asks "Any concerts on there", the events skill accesses the variable and provides an event listing for Manhattan. Contextual information
  • 17. Skill context Context information that enhances the flow of conversation within a skill. For example, when a user says "I'm looking for an open-air concert", the entertainment skill captures the event type in the skill context. Later in the conversation, when the user asks the assistant "Are there any free ones on today", the entertainment skill knows from the skill context that the user is asking for a free open-air concert. " Utterance context Context information, such as your current location, that is sent by your edge device in the utterance. The utterance context might capture whether the user is at home or in her car. A skill might use a different response depending on the utterance context. For example, when a user is at home and asks for a cinema listing, the film poster is sent with the response.
  • 18. In this sample application, you're engaging with a banking virtual assistant/Customer The assistant simulates a few scenarios, such as making a credit card payment, boo Watson can understand your entries and respond accordingly Application Example ?
  • 19. Prerequisites - Setting up : IBM Watson Assistant Service • Sign up for an IBM Cloud account. • Create an instance of the Watson Assistant service and get your credentials: • Go to the Watson Assistant page in the IBM Cloud Catalog. • Log in to your IBM Cloud account. • Click Create. • Click Show to view the service credentials. • Copy the apikey value. • Copy the url value.
  • 21. Three Steps to follow
  • 27. https://github.com/watson-developer-cloud/assistant-demo.git Running Client Locally: Nodejs In the application folder, copy the .env.example file and create a file called .env Open the .env file and add the service credentials that you obtained in the previous step. Download the example Nodejs source code :Client