Develop a Virtual Assistant with IBM Watson and .NET Core on IBM Cloud Code Engine-Part 2

The Virtual Assistant

  1. Report a lost or stolen card
  2. Provide the products and services the Bank offers
  3. Explain financial and banking terms
  4. Provide the account balance for a specific bank account
  1. Provision an instance of Watson Assistant on IBM Cloud
  2. Build the virtual assistant with Dialog an Intents
  3. Integrate the Watson Assistant widget with the website
  4. Generate the new docker image and deploy it to IBM Cloud Code Engine

Provision a Watson Assistant service instance on IBM Cloud

Watson Assistant Plus Trial plan
Instance of Watson Assistant with Plus Trial plan
Watson Assistant — Assistants

Build the virtual assistant with a Dialog skill and Intents

Watson Assistant skills
Add a dialog skill to your virtual assistant
Virtual Assistant with a dialog skill
New Bank Virtual Assistant dialog skill
  1. Dialog — Controls the conversation flow with the user
  2. Intents — Intents are phrases the user may enter and will in turn expect a single action to be performed.
  3. Entities — Represent synonyms and patterns
Create #reportLostCard intent
Examples for lost card intent
User examples for #whatProductsAndServices intent
New Bank dialog skill with two intents
New Bank virtual assistant dialog
#reportLostCard dialog node
#whatProductsAndServices dialog node
Test your virtual assistant

Integrate the Watson Assistant widget with the website

Web chat options
Script to embed the assistant on the website
_Layout.chstml
Script code from Watson Assistant copied in _Layout.csthml
Local test of the Web Chat
Website with integrated widget running locally

Generate the new docker image and deploy it to IBM Cloud Code Engine

Publish folder
Deploy application image to IBM Cloud Code Engine
Runtime settings for application running on IBM Cloud Code Engine
IBM Code Engine Application URL
Published website with Watson Virtual Assistant

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jean Paul Tabja

Jean Paul Tabja

Software Solutions Architect with focus on Cloud and AI technologies