Book Image

Cognitive Computing with IBM Watson

By : Rob High, Tanmay Bakshi
Book Image

Cognitive Computing with IBM Watson

By: Rob High, Tanmay Bakshi

Overview of this book

Cognitive computing is rapidly becoming a part of every aspect of our lives through data science, machine learning (ML), and artificial intelligence (AI). It allows computing systems to learn and keep on improving as the amount of data in the system increases. This book introduces you to a whole new paradigm of computing – a paradigm that is totally different from the conventional computing of the Information Age. You will learn the concepts of ML, deep learning (DL), neural networks, and AI with the help of IBM Watson APIs. This book will help you build your own applications to understand, and solve problems, and analyze them as per your needs. You will explore various domains of cognitive computing, such as NLP, voice processing, computer vision, emotion analytics, and conversational systems. Equipped with the knowledge of machine learning concepts, how computers do their magic, and the applications of these concepts, you’ll be able to research and apply cognitive computing in your projects.
Table of Contents (16 chapters)
Title Page
Copyright and Credits
About Packt

Building a dialog

To make your application a little more interesting, you can preface the interaction with a little greeting, and some sort of acknowledgement. We'll do that now.

You can introduce a dialog by pressing the Dialog tab of the main workspace screen and press the Create button. This will begin with a very basic dialog flow already filled out for you—including what to say to get things going, and how to respond in the case the user utters something completely off-topic:

Press on the Welcome card and an edit screen will come up on the right. You can modify the text that Watson will respond with, for example, change it to Welcome to ABC Bank. What can I do for you?:

Now, let's provide an interesting response if the user wants to pay their power bill. Press the Add node button, and in the If bot recognizes: field enter #Pay-Bills, press the + sign to the right of that, and enter @BillingInstitution:(Phone Company) in the field that opens up. There are auto-complete prompts for each...