Skip to content

apiBlockchain/chatbot

 
 

Repository files navigation

Implementing a chat bot using Watson Cognitive Services

Welcome! This document contains all of the information required to setup and run the Chat Bot lab. In this lab, users will build a chat application for retail banking that recognizes and manages common interactions between the bank’s customer and the back-end systems via natural language conversations. Before starting the lab, all users must complete the lab prerequisites as shown below. The prerequisites will deploy the applications and services for the lab to the user's Bluemix account.

IMPORTANT NOTICE: This lab relies on Bluemix and services such as Watson Conversation. It may not work exactly as documented when Bluemix and/or the underlying services are updated. Please contact us if you experience problems with the lab. This lab was last updated and validated on September 9th, 2016.

The materials for this lab are:
Lab Overview Slides
Lab Handout

Prepare your Bluemix account

1. Ensure that you have an account on IBM Bluemix. If you already have a Bluemix account, then sign in to your account and proceed to step 2.

1.1 Register for a Bluemix account, fill out the required details and click 'Create Account'.

            

You will receive a message to check your mail.

            

1.2 Please check your email and look for a registration confirmation email from Bluemix.

            

1.3 Click on 'Confirm your account' and receive a 'Success' message.

            

1.4 Click 'Login' and enter your Bluemix credentials.

            

1.5 Create an Organization and enter an organization name.

            

1.6 Create a Space and enter a space name. You can also choose the default space name of 'dev'.

            

1.7 After you receive a success message, please click 'I'm Ready'

            

You will land on your Bluemix Dashboard. * If you have landed on the Dashboard view as shown below, proceed to [step 2](#acc_complete1). * If you did not get to the Dashboard, proceed to [step 1.8](#step_view).

            

1.8 If you land on the new Bluemix interface as shown below, click on the highlighted area at the top right.

            

Click on 'Switch to Classic'.

            

You may be asked to login again. After login, you will land on the Bluemix Dashboard.

2. Ensure that you have the necessary space available in your Bluemix account to complete the lab. Open your Bluemix Dashboard to check if you have the required space: * The 'Services & APIs' tile shows the number of services you have available. You will require space to deploy two services during the lab. If you do not have sufficient space for two services, then delete some existing services (visible in your dashboard) before proceeding to the next step.

            

  • The 'Cloud Foundry Apps' tile shows the memory you have available for apps. You will require at least 256 MB of free space to deploy the app for this lab. If you do not have 256MB of free space, then delete some existing apps (visible in your dashboard) before proceeding to the next step.

            

Deploy the App

                                                                                                                                                                     [Lab Document Download](http://ibm.biz/Bdru7G)

1. Click on the 'Deploy to Bluemix' button below.

             Deploy to Bluemix

2. Log in with your Bluemix account.

            

3. If you are asked to choose an alias, then follow these instructions. Otherwise, proceed to step 4 in this section.

3.1 Enter a unique alias name and click create.             

3.2 Verify your alias name and click continue.             

4. Name your app, and then select the Region, Organization and Space where the app will be deployed. Click 'DEPLOY'.

            

  • The status of the deployment is shown. This can take approximately 2 minutes to complete.

            

  • The deployment process performs the following actions:
  • Creates the application.
  • Creates a Conversation and Tone Analyzer service instance.

5. After the deployment has completed, click on the 'Deployed to Bluemix sucessfully' link.

            

You will land on the Overview page of your application.

            

6. The application and services have been successfully deployed, and you are now ready to begin the lab!

License

This sample code is licensed under Apache 2.0. Full license text is available in LICENSE.

Open Source @ IBM

Find more open source projects on the IBM Github Page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.9%
  • CSS 22.2%
  • HTML 2.9%