SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
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
Running Client Locally
Local Host
IBM Watson assistant

Weitere ähnliche Inhalte

Was ist angesagt?

Get started with Dialogflow & Contact Center AI on Google Cloud
Get started with Dialogflow & Contact Center AI on Google CloudGet started with Dialogflow & Contact Center AI on Google Cloud
Get started with Dialogflow & Contact Center AI on Google CloudDaniel Zivkovic
 
How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...Maxim Salnikov
 
Preparing, Piloting & Paths to Success with Microsoft Copilot
Preparing, Piloting & Paths to Success with Microsoft CopilotPreparing, Piloting & Paths to Success with Microsoft Copilot
Preparing, Piloting & Paths to Success with Microsoft CopilotRichard Harbridge
 
Using Machine Learning and Chatbots to handle 1st line Technical Support
Using Machine Learning and Chatbots to handle 1st line Technical SupportUsing Machine Learning and Chatbots to handle 1st line Technical Support
Using Machine Learning and Chatbots to handle 1st line Technical SupportBarbara Fusinska
 
Working with MS Endpoint Manager
Working with MS Endpoint ManagerWorking with MS Endpoint Manager
Working with MS Endpoint ManagerGeorge Grammatikos
 
Conversational AI with Rasa - PyData Workshop
Conversational AI with Rasa - PyData WorkshopConversational AI with Rasa - PyData Workshop
Conversational AI with Rasa - PyData WorkshopTom Bocklisch
 
Azure Chat Bot application
Azure Chat Bot application Azure Chat Bot application
Azure Chat Bot application Vivek Singh
 
Introduction to Chatbots
Introduction to ChatbotsIntroduction to Chatbots
Introduction to ChatbotsDaden Limited
 

Was ist angesagt? (20)

Prompt Engineering
Prompt EngineeringPrompt Engineering
Prompt Engineering
 
Get started with Dialogflow & Contact Center AI on Google Cloud
Get started with Dialogflow & Contact Center AI on Google CloudGet started with Dialogflow & Contact Center AI on Google Cloud
Get started with Dialogflow & Contact Center AI on Google Cloud
 
Ai chatbot
Ai chatbotAi chatbot
Ai chatbot
 
Chatbot usecases
Chatbot usecasesChatbot usecases
Chatbot usecases
 
How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...
 
Preparing, Piloting & Paths to Success with Microsoft Copilot
Preparing, Piloting & Paths to Success with Microsoft CopilotPreparing, Piloting & Paths to Success with Microsoft Copilot
Preparing, Piloting & Paths to Success with Microsoft Copilot
 
Chat bot in_pythion
Chat bot in_pythionChat bot in_pythion
Chat bot in_pythion
 
Using Machine Learning and Chatbots to handle 1st line Technical Support
Using Machine Learning and Chatbots to handle 1st line Technical SupportUsing Machine Learning and Chatbots to handle 1st line Technical Support
Using Machine Learning and Chatbots to handle 1st line Technical Support
 
IBM Watson Overview
IBM Watson OverviewIBM Watson Overview
IBM Watson Overview
 
Build a chatbot using rasa
Build a chatbot using rasaBuild a chatbot using rasa
Build a chatbot using rasa
 
Working with MS Endpoint Manager
Working with MS Endpoint ManagerWorking with MS Endpoint Manager
Working with MS Endpoint Manager
 
Conversational AI with Rasa - PyData Workshop
Conversational AI with Rasa - PyData WorkshopConversational AI with Rasa - PyData Workshop
Conversational AI with Rasa - PyData Workshop
 
AzureOpenAI.pptx
AzureOpenAI.pptxAzureOpenAI.pptx
AzureOpenAI.pptx
 
Chatbot ppt
Chatbot pptChatbot ppt
Chatbot ppt
 
Banking Chatbot
Banking ChatbotBanking Chatbot
Banking Chatbot
 
Microsoft Viva
Microsoft VivaMicrosoft Viva
Microsoft Viva
 
Generative AI.pptx
Generative AI.pptxGenerative AI.pptx
Generative AI.pptx
 
Azure Chat Bot application
Azure Chat Bot application Azure Chat Bot application
Azure Chat Bot application
 
Introduction to Chatbots
Introduction to ChatbotsIntroduction to Chatbots
Introduction to Chatbots
 
AI as a service
AI as a serviceAI as a service
AI as a service
 

Ähnlich wie IBM Watson assistant

Webinar - Building a ChatBot using IBM Watson Conversation Service
Webinar - Building a ChatBot using IBM Watson Conversation ServiceWebinar - Building a ChatBot using IBM Watson Conversation Service
Webinar - Building a ChatBot using IBM Watson Conversation ServiceThirdEye Data
 
IBM Watson - Cognitive Robots
IBM Watson - Cognitive RobotsIBM Watson - Cognitive Robots
IBM Watson - Cognitive RobotsJouko Poutanen
 
Watson Conversation Services and Virtual Assistant - Basic Summary
Watson Conversation Services and Virtual Assistant - Basic SummaryWatson Conversation Services and Virtual Assistant - Basic Summary
Watson Conversation Services and Virtual Assistant - Basic SummaryGanesh Ghag
 
CV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsCV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsPurnima Balla
 
Deliver New Customer Experiences Through AI-enabled Chatbots
 Deliver New Customer Experiences Through AI-enabled Chatbots Deliver New Customer Experiences Through AI-enabled Chatbots
Deliver New Customer Experiences Through AI-enabled ChatbotsAmazon Web Services
 
Building your own chat bot with Amazon Lex - Hebrew Webinar
Building your own chat bot with Amazon Lex - Hebrew WebinarBuilding your own chat bot with Amazon Lex - Hebrew Webinar
Building your own chat bot with Amazon Lex - Hebrew WebinarBoaz Ziniman
 
ConnectPath Introduction
ConnectPath IntroductionConnectPath Introduction
ConnectPath IntroductionCloudHesive
 
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ..."Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...Tech in Asia ID
 
Digital Transformation Services and Solutions - Chatbot Development
Digital Transformation Services and Solutions - Chatbot DevelopmentDigital Transformation Services and Solutions - Chatbot Development
Digital Transformation Services and Solutions - Chatbot DevelopmentPrajaktaKulkarni55
 
ferret_company_facts_en(30.03.17)
ferret_company_facts_en(30.03.17)ferret_company_facts_en(30.03.17)
ferret_company_facts_en(30.03.17)ferretslides
 
Building custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBuilding custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBrian Perera
 
Un backend: pour tous vos objets connectés
Un backend: pour tous vos objets connectésUn backend: pour tous vos objets connectés
Un backend: pour tous vos objets connectésAmazon Web Services
 
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech TalksAnnouncing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech TalksAmazon Web Services
 
Palsoft company information
Palsoft  company informationPalsoft  company information
Palsoft company informationKamal Patel
 
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017Alex Smith
 
Presentation for ArenaLviv 2017
Presentation for ArenaLviv 2017Presentation for ArenaLviv 2017
Presentation for ArenaLviv 2017Andriy Dyadyura
 
Jeh Daruvala - MVC 2016 - Talking Computers as Sales Agents
Jeh Daruvala - MVC 2016 - Talking Computers as Sales AgentsJeh Daruvala - MVC 2016 - Talking Computers as Sales Agents
Jeh Daruvala - MVC 2016 - Talking Computers as Sales AgentsJeh Daruvala
 
Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...Respa Peter
 

Ähnlich wie IBM Watson assistant (20)

Webinar - Building a ChatBot using IBM Watson Conversation Service
Webinar - Building a ChatBot using IBM Watson Conversation ServiceWebinar - Building a ChatBot using IBM Watson Conversation Service
Webinar - Building a ChatBot using IBM Watson Conversation Service
 
IBM Watson - Cognitive Robots
IBM Watson - Cognitive RobotsIBM Watson - Cognitive Robots
IBM Watson - Cognitive Robots
 
Watson Conversation Services and Virtual Assistant - Basic Summary
Watson Conversation Services and Virtual Assistant - Basic SummaryWatson Conversation Services and Virtual Assistant - Basic Summary
Watson Conversation Services and Virtual Assistant - Basic Summary
 
Introducing Amazon Lex
Introducing Amazon Lex Introducing Amazon Lex
Introducing Amazon Lex
 
Amazon Alexa and AWS Lambda
Amazon Alexa and AWS LambdaAmazon Alexa and AWS Lambda
Amazon Alexa and AWS Lambda
 
CV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7YrsCV_PurnimaBalla_WCS-Consultant_7Yrs
CV_PurnimaBalla_WCS-Consultant_7Yrs
 
Deliver New Customer Experiences Through AI-enabled Chatbots
 Deliver New Customer Experiences Through AI-enabled Chatbots Deliver New Customer Experiences Through AI-enabled Chatbots
Deliver New Customer Experiences Through AI-enabled Chatbots
 
Building your own chat bot with Amazon Lex - Hebrew Webinar
Building your own chat bot with Amazon Lex - Hebrew WebinarBuilding your own chat bot with Amazon Lex - Hebrew Webinar
Building your own chat bot with Amazon Lex - Hebrew Webinar
 
ConnectPath Introduction
ConnectPath IntroductionConnectPath Introduction
ConnectPath Introduction
 
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ..."Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
 
Digital Transformation Services and Solutions - Chatbot Development
Digital Transformation Services and Solutions - Chatbot DevelopmentDigital Transformation Services and Solutions - Chatbot Development
Digital Transformation Services and Solutions - Chatbot Development
 
ferret_company_facts_en(30.03.17)
ferret_company_facts_en(30.03.17)ferret_company_facts_en(30.03.17)
ferret_company_facts_en(30.03.17)
 
Building custom skills with Amazon Alexa
Building custom skills with Amazon AlexaBuilding custom skills with Amazon Alexa
Building custom skills with Amazon Alexa
 
Un backend: pour tous vos objets connectés
Un backend: pour tous vos objets connectésUn backend: pour tous vos objets connectés
Un backend: pour tous vos objets connectés
 
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech TalksAnnouncing Amazon Lex - January 2017 AWS Online Tech Talks
Announcing Amazon Lex - January 2017 AWS Online Tech Talks
 
Palsoft company information
Palsoft  company informationPalsoft  company information
Palsoft company information
 
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
AWS User Group Singapore / Amazon Lex -- JAWSDAYS 2017
 
Presentation for ArenaLviv 2017
Presentation for ArenaLviv 2017Presentation for ArenaLviv 2017
Presentation for ArenaLviv 2017
 
Jeh Daruvala - MVC 2016 - Talking Computers as Sales Agents
Jeh Daruvala - MVC 2016 - Talking Computers as Sales AgentsJeh Daruvala - MVC 2016 - Talking Computers as Sales Agents
Jeh Daruvala - MVC 2016 - Talking Computers as Sales Agents
 
Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...Web services have made the development of mobile Web applications much easier...
Web services have made the development of mobile Web applications much easier...
 

Mehr von Prem Sanil

Cpu steal time
Cpu steal timeCpu steal time
Cpu steal timePrem Sanil
 
MQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionMQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionPrem Sanil
 
Cloud service models
Cloud service modelsCloud service models
Cloud service modelsPrem Sanil
 
IBM Cloud Virtual Server/Machine - Setting up and Access
IBM Cloud Virtual Server/Machine - Setting up and AccessIBM Cloud Virtual Server/Machine - Setting up and Access
IBM Cloud Virtual Server/Machine - Setting up and AccessPrem Sanil
 
Google cloud MEAN js
Google cloud MEAN jsGoogle cloud MEAN js
Google cloud MEAN jsPrem Sanil
 
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUDPrem Sanil
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC ArchitecturePrem Sanil
 
JavaScript Style guides
JavaScript Style guidesJavaScript Style guides
JavaScript Style guidesPrem Sanil
 
Cloud Hosted mongodb
Cloud Hosted mongodbCloud Hosted mongodb
Cloud Hosted mongodbPrem Sanil
 
Mean Stack Vs Meteor js
Mean Stack Vs Meteor jsMean Stack Vs Meteor js
Mean Stack Vs Meteor jsPrem Sanil
 
Modbus introduction
Modbus introductionModbus introduction
Modbus introductionPrem Sanil
 
Stm32f303 rest and Clock contol
Stm32f303 rest and Clock contolStm32f303 rest and Clock contol
Stm32f303 rest and Clock contolPrem Sanil
 

Mehr von Prem Sanil (14)

Cpu steal time
Cpu steal timeCpu steal time
Cpu steal time
 
MQTT IOT Protocol Introduction
MQTT IOT Protocol IntroductionMQTT IOT Protocol Introduction
MQTT IOT Protocol Introduction
 
Cloud service models
Cloud service modelsCloud service models
Cloud service models
 
IBM Cloud Virtual Server/Machine - Setting up and Access
IBM Cloud Virtual Server/Machine - Setting up and AccessIBM Cloud Virtual Server/Machine - Setting up and Access
IBM Cloud Virtual Server/Machine - Setting up and Access
 
Google cloud MEAN js
Google cloud MEAN jsGoogle cloud MEAN js
Google cloud MEAN js
 
REST API and CRUD
REST API and CRUDREST API and CRUD
REST API and CRUD
 
Bootstrap
BootstrapBootstrap
Bootstrap
 
Nodejs
NodejsNodejs
Nodejs
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC Architecture
 
JavaScript Style guides
JavaScript Style guidesJavaScript Style guides
JavaScript Style guides
 
Cloud Hosted mongodb
Cloud Hosted mongodbCloud Hosted mongodb
Cloud Hosted mongodb
 
Mean Stack Vs Meteor js
Mean Stack Vs Meteor jsMean Stack Vs Meteor js
Mean Stack Vs Meteor js
 
Modbus introduction
Modbus introductionModbus introduction
Modbus introduction
 
Stm32f303 rest and Clock contol
Stm32f303 rest and Clock contolStm32f303 rest and Clock contol
Stm32f303 rest and Clock contol
 

Kürzlich hochgeladen

eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingShane Coughlan
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencessuser9e7c64
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsJean Silva
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptxVinzoCenzo
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfmaor17
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesVictoriaMetrics
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfRTS corp
 
Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecturerahul_net
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 

Kürzlich hochgeladen (20)

eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
Patterns for automating API delivery. API conference
Patterns for automating API delivery. API conferencePatterns for automating API delivery. API conference
Patterns for automating API delivery. API conference
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero results
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptx
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdf
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 Updates
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
 
Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecture
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 

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
  • 28.