Skip to content

To build a simple chatbot for a hotel using RASA framework

Notifications You must be signed in to change notification settings

aayushostwal/Hotel_Chat_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model: https://drive.google.com/file/d/1k7npIPx6gA0d3LNnraT7kZZb_u_PoSXv/view?usp=sharing

Hotel_Chat_Bot

To build a simple chatbot for a hotel using RASA framework Objective - To build a simple chatbot for a hotel. The chatbot should be able to the following basic functionalities

Book room

Request Room Cleaning Handle FAQs Handle Greetings Example flows for these functionalities are described in detail in the Flows section.

Installation

python 3.6.8 is recommended for use with Rasa!

We highly recommend that you use a fresh virtual environment with python 3.6.8

Rasa 2.0 is the only requirement for this project. Please follow the Rasa installation instructions listed at https://rasa.com/docs/rasa/user-guide/installation/

Instructions

We suggest that you use the Rasa framework to build this bot. Rasa is an open-source bot-building platform that will enable you to easily implement the functionalities required for this project.

You can check out this simple Rasa tutorial to get an idea of how to approach the problem.

Please go through the Rasa 2.0 docs to familiarize yourself with how to use the different aspects of Rasa.

Flows

Please note that the flows below are only meant as examples to demonstrate functionalities. We would expect the bot to also handle questions having the same meaning but posed in different ways.

For eg. in our Book Room example, we have the user say "I want to book a room". In this case, the bot should also be able to direct the user to this flow if he says something along the lines of "I would like to book a room", "I want to book a room for my stay" etc.

Please add at least 5 training examples for each intent so that the bot is able to handle.

Note: Please keep the bot utterances exactly as mentioned in the examples as they are essential in our automated testing scripts

Book Room

User: I want to book a room.

Bot: How many rooms would you like to book?

User: 2 rooms

Bot: What type of room would you want to book?

(Button 1) Simple (Button 2) Deluxe User: (Clicks on Button 1)

Bot: You have chosen to book 2 simple rooms

(Clicking on button 2 should be handled similarly)

Clean room

Schedule cleaning right away - User: I want to have my room cleaned

Bot: When should I arrange for a cleaning?

User: Could you send someone right now?

Bot: Sure, I will send someone to your room right away.

Schedule cleaning using relative time - User: I want to have my room cleaned

Bot: When should I arrange for a cleaning?

User: Could you send someone after 2 hours?

Bot: Sure, I have scheduled a cleaning for 5 pm today.

The above two flows are the only multi-step flows. The flows should adapt themselves according to the user input. For eg., if the user says "I want to book a room for 2 people", the bot should not ask "How many rooms would you like to book?".

FAQs

Check-in timings - User: What are your check-in timings?

Bot: Check-in time starts at 4 PM. Minimum check-in age is 21. Please contact the reception for early check-in requests.

Check-out timings - User: What are your check-out timings?

Bot: Check-out time is 11 AM. Please contact the reception for late checkout requests.

Cancel Reservation -

User: How do I cancel a reservation?

Bot: To cancel a reservation, select the “Reservations” link from the homepage.

Bot: On the Reservations page, under the heading ‘View, Change or Cancel a Reservation,’ enter your confirmation number, and either the last name on the reservation or the last four digits of the credit card used to make the reservation.

Cancellation Policy -

User: What is your cancellation policy?

Bot: The booking deposit is refundable if the cancellation occurs at least 15 days before arrival. For cancellations made after this limit, a penalty will be imposed based on the cancellation policy.

Restaurant -

User: Does the hotel have a restaurant?

Bot: Yes, the hotel has a restaurant called the Zephyr Bar. With our menu we strive to reflect the historic art and the spirit of our neighborhood by offering a glimpse into what makes our area unique.

Breakfast Availability -

User: Does the hotel offer breakfast?

Bot: The hotel provides its guests with a free made-to-order breakfast each morning.

Breakfast timings -

User: What are the breakfast timings?

Bot: Monday through Friday breakfast is 6 am to 9 am. On Saturday and Sunday, we are open from 7 am to 10:30 am.

Restaurant timings -

User: What are the timings of your restaurant?

Bot: Our restaurant serves a dazzling 24-hour menu.

About

To build a simple chatbot for a hotel using RASA framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages