/Flight-Hotel-Booking-ChatBot-Using-DialogFlow

Flight And Hotel Booking Chatbot Using DialogFlow

Primary LanguageJavaScript

Content

Project Overview

TravelPlanner chatbot allows a user to book flights from an origin to destination for a particular date using Google Assistant. Users can also opt for hotel bookings.

Functional Features:

  1. User can book flight from origin to destination.
  2. Suggestion Chips will be provided to the user to help in selecting various options. (For suggestion chip demo, click here)
  3. Users can select travel class (business or economy) and can opt for seat booking.
  4. Detect location feature is also enabled.
  5. Change destination and change date option is also available.
  6. Users can opt for hotel booking from the displayed hotel list.

DialogFlow Overview

For basic understanding of dialogflow, click here

Project Setup

  • Agent Setup

  1. Create New Agent Travel Planner. image

  2. Go to the Dialogflow console and click the ⚙icon next to your Dialogflow agent name.

  3. Click to Export and Import tab in the settings of your Dialogflow agent and click IMPORT FROM ZIP. image

  4. Drag the TravelPlanner.zip file into the box and type the word IMPORT to complete the import. image

Great !! Now you have imported your DialogFLow agents and entites 😄

  • Fulfillment Code Setup

  1. Go to Fulfillment Tab and enable Inline Editor. image

  2. Update index.js and package.json as per committed file.

  3. Once done, click Deploy. image

Bot Testing

  1. Go to Google Action Console

  2. Select Project and Click on Test. image

Done!!! Now start chatting with your bot 😄

image

Happy Learning 😄 .