|
| 1 | +# AI Room Booking Chatbot |
| 2 | + |
| 3 | +## Demo |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | +### Instruction |
| 9 | + |
| 10 | +Download or Clone this repo on your local machine |
| 11 | + |
| 12 | +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 |
| 13 | +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. |
| 14 | +3. Click on launch Watson Assitant to open the tool. |
| 15 | +4. Then Click on "Create assistant" Button to create your IBM Watson Assistant. |
| 16 | +5. Name your assistant. If you want, you can give description for ypur assistant. |
| 17 | +6. Click on "Add an actions or dialog skill" |
| 18 | +7. Go to "upload skill" tab and choose the [skill-Room-Booking.json](skill-Room-Booking.json) |
| 19 | +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" |
| 20 | +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". |
| 21 | +10. You will see a Text area to enter your python code. Just copy the python from [IBM_Cloud_Function.py](IBM_Cloud_Function.py) and past it in the text area of IBM Cloud Funtion. |
| 22 | +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". |
| 23 | +12. Select "Mail" as app and "Other" as "Other" as device. Enter any name for your custom device. example: IBM Cloud Fumction |
| 24 | +13. Copy the app password and back to our IBM Cloud Function. Enter the app password in the python program on 10 line. |
| 25 | +14. Click on "Endponits" from the side bar of IBM Cloud Function Action Click on "Enable as Web Action" and Copy the URL. |
| 26 | +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). |
| 27 | + |
| 28 | +That's it. We have successfully developed our AI Room Booking Chatbot. |
0 commit comments