Giter Site home page Giter Site logo

gea_bot's Introduction

Gea_Bot

This Chatbot has been made for the GEA Hackathon 2k18. Link - https://gea-hackathon-18.hackerearth.com/

The demo video is here - https://youtu.be/7-aa2oR5tCU

Instructions on running it:

  • Zip the contents of the "dialogflow" folder.
  • Open google dialogflow website and sign in .
  • Create a new agent and name it anything
  • Go to the agent settings -> Import as zip and import the zipped file.
  • Open the 'fulfillment' folder from github project
  • Follow the instructions give in 'Readme.md' in that folder to apply cloud functions in the chatbot.
  • Deploy the 'inline-editor'
  • Use your phone's google assistant ( logged in with the same email which you used in dialogflow) and call "Talk to my test app".
  • That's it !

Database Information:

3 databases are used:

  1. Appliances: This includes the model number, serial number and the type of appliance. In "other_files" folder , a python script 'dataToFirebase.py ' is used to convert the data from excel to json format - 'gea_data.json' which can be uploaded on firebase easily. This can be modified by admin only

    Demo data:

    Dryer GFD48ESSKWW DRBG0107
    Dryer GFD48ESSKWW DRBG0108
    Dryer GFD48ESSKWW DRBG0109
    Dryer GFD48ESSKWW DRBG0110
  2. Technician : This contains the technician id, their name , their alloted slots and their visit timings on different days. 'gea_technician_data.json' contains their information which is uploaded on firebase.

    This can be modified by admin only

    Sample data for pincode:

    122102

    632014

    122006

    560037

  3. Service: This contains the booking details of all the users based on the tracking id. This is dynamic and changes according to the users activity .

Introduction

GeaBot is a chatbot which can help users to book service appointments for their GE appliances, reschedule existing services and even cancel the existing appointments.

It is integrated with Google Assistant and can be integrated on many such platforms like Telegram, facebook messenger , twitter and many more. Since, we are using Google Assistant, it also supports voice commands and makes the conversation very convenient.

Here are the 4 major tasks it can do:

1) Book Service Appointments:

โ€‹ In this, initially the user has to provide the model number and serial number of the appliance for which he wants the service.

Validation of model and serial number happens from the appliance database stored in the Firebase.

Here is how the database looks like:

After successful verification, the user details like name, address , email are taken which are collected in a separate database for contacting purpose.

Based on the address, we check the availability of the technicians in that pincode and give them the time slot options .

We have a database with pincode and the technician available dates and timings.

The user selects his suitable slot

A unique tracking id is generated and an email is sent to the user regarding his appointment.

2) See Booking Details:

This comes under manage existing service section and show the user , booked service appointment details.

The user is supposed to give his unique service tracking id which has to be verified from the database.

Here is the look of the Booked Service database:

3) Reschedule the service

This helps the user to change the date and time of his existing booked services . It asks for the Tracking id and suggests the Service slot options once again based on the user's address.

4) Cancel your booked services:

The user also gets an option to cancel the existing service appointment.

Future Improvements:

  1. Finding the Pin codes directly from the given address using api , removing the need of asking user for pincode.

  2. Providing user, the ability to share his location on google maps and technician can have the same location and can reach the right address easily.

  3. Providing a chatbot facility for technician as well , where they can easily keep track of the bookings and locations.

  4. Adding the booking date to users calendar.

gea_bot's People

Contributors

paritoshm9 avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Forkers

imshubhamkj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.