heflinstephenraj / Room-Booking-Chatbot

AI Room Booking Chatbot developed on IBM Watson Assistant and IBM Cloud Function.

Home Page:https://web-chat.global.assistant.watson.cloud.ibm.com/preview.html?region=eu-gb&integrationID=aed38a73-5dba-4418-926a-8c14effc5c86&serviceInstanceID=625d30f8-a8d0-4b4a-99c7-1bb796c190a3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Room-Booking-Chatbot

Demo

Room booking chatbot - Demo



Tutorial

Download or Clone this repo on your local machine

  1. Create your IBM Cloud Account at https://cloud.ibm.com/registration If you already have an IBM Cloud Account, login here https://cloud.ibm.com/login
  2. Provision your IBM Watson Assistant at https://cloud.ibm.com/catalog/services/watson-assistant Name your IBM Watson Assistant service and Click on create.
  3. Click on launch Watson Assitant to open the tool.
  4. Then Click on "Create assistant" Button to create your IBM Watson Assistant.
  5. Name your assistant. If you want, you can give description for ypur assistant.
  6. Click on "Add an actions or dialog skill"
  7. Go to "upload skill" tab and choose the skill-Room-Booking.json
  8. We completed the chatbot. Let's set our IBM Cloud Function to send an email when someone sends a booking request. Go to https://cloud.ibm.com/functions/actions and Click on "Create" Button and click on "Action"
  9. Prove a name for your Action. Leave "Enclosing Package" as default. And Choose python 3.7 as your runtime. Then Finally, Click on "Create".
  10. You will see a Text area to enter your python code. Just copy the python from IBM_Cloud_Function.py and past it in the text area of IBM Cloud Funtion.
  11. Now go to your Google Account Security at https://myaccount.google.com/security. Enable 2 step verification. Then Go to "App password" under "Signing in to Google".
  12. Select "Mail" as app and "Other" as "Other" as device. Enter any name for your custom device. example: IBM Cloud Fumction
  13. Copy the app password and back to our IBM Cloud Function. Enter the app password in the python program on 10 line.
  14. Click on "Endponits" from the side bar of IBM Cloud Function Action Click on "Enable as Web Action" and Copy the URL.
  15. Come Back to your IBM Watson Assistant. Go to "Option > Webhooks" from the side bar of your IBM Watson Assistant. Then past the URL (Note: Add .json at the end of the URL).

That's it. We have successfully developed our AI Room Booking Chatbot. If you have any questions, Contact me at https://www.heflin.dev/hello