Lab 1: Let's get started
Welcome to your first hands-on lab. I'm sure you're eager to get started. Before we can begin to actually build chatbots, however, we'll need to take care of a couple of prerequisites for this workshop.
What you will accomplish In this lab:
- Register an account with IBM Cloud;
- Create an instance of Watson Assistant;
- Enroll in a Chatbot Course online to obtain a certificate and badge, as well as other benefits.
There are a few reasons for enrolling:
Being enrolled in the course will enable you to take the quizzes and final exam. A passing grade will entitle you to a badge backed by IBM, to attest to your ability to create chatbots.
This badge, digitally issued by Acclaim, can then be shared on your LinkedIn profile, other social media sites (a little bragging won't hurt anyone), on your CV/résumé, etc.
- Upon passing the exam, you'll also receive a digital certificate of accomplishment from Cognitive Class, which you could print if you wish.
- You'll be given a special coupon code that allows you to receive US$200 a month worth of Cloud services for six months (a total value of US$1,200). This can be applied to use many IBM Cloud services, including Watson Assistant.
- You'll receive a free WordPress testing site that we'll need for the deployment of your chatbot later in the workshop.
- Once you're registered with Cognitive Class, you can take many other courses on Data Science, AI, Containers, Blockchain, and more if you're interested. All for free and at your own pace.
- Take your first graded quiz.
Lab 2: Working with Intents
Great job on completing the first lab. We're now ready to tackle the first and most important component of a chatbot, Intents.
What you will accomplish in this lab:
- Create a skill for your chatbot;
- Create, modify, and delete intents;
- Add intents from the Content Catalog;
- Test intents in the Try it out panel.
- Import and export intents via CSV files;
Lab 3: Working with Entities
Watson leverages intents we define to let us know what the user query is about. What does the user want? In the previous lab, we created a few chitchat intents, as well as #hours_infoand #location_info.
If the user greets us, thanks us, wants to leave the conversation, ask us about hours of operation, or location information, we'll know which intent they had.
The next step is to gather specific bits of information given in the question, if any are provided. For that, we'll need entities.
What you will accomplish In this lab:
- Create, modify, and delete entities;
- Test entities in the Try it out panel;
- Try out system entities;
- Import and export entities via CSV files;
- Learn about synonyms and patterns.
Lab 4: Defining the Dialog
With intents and entities under our belts, we can finally look at the third component: the dialog.
In fact, at this point, our chatbot can understand some intents and detect a few specific pieces of information thanks to entities. What we are missing is using this information to formulate appropriate responses to the user. Will do so in this lab to create a simple, but useful chatbot.
What you will accomplish In this lab:
- Create a useful chatbot that leverages the intents and entities we created so far;
- Understand how the Dialog flow and responses work;
- Understand children nodes;
- Test our chatbot in the Try it out panel;
- Take your second and third graded quizzes.
Lab 5: Deployment to WordPress
The small chatbot we built so far works well enough from the Try it out panel. That's great and all, but our customers won't have access to it unless we deploy it somewhere. Let's see how to accomplish that.
What you will accomplish In this lab:
- Create an Assistant and link it to your skill;
- Obtain a WordPress site for testing purposes;
- Deploy our chatbot to your WordPress site;
- Learn about the various features offered by the Watson Assistant WordPress plugin.
Lab 6-7: Let's improve it
By now you know the essentials of chatbot building. There are however some more advanced concepts that will enable you to create better and smarter chatbots.
I could list them all here at once, but I think it makes more sense to organically introduce them in this lab as their need arises in the process of improving our chatbot.
Keep in mind that some of these concepts are tougher to get, particularly if you have no prior programming experience. So don't be discouraged if you don't fully get everything right away.
You can try things, test to see if they work, and if they don't, try something else. That's why the Try it out panel is so useful. It allows you to build chatbots one feature at the time.
Stick with it, and if you practice, you'll quickly become familiar with the advanced concepts.
What you will accomplish In this lab:
- Learn about several features of Watson Assistant;
- Improve the chatbot we've built so far;
- Complete the quizzes and exam for the online course.
Register here: https://www.intela.training