Coder Social home page Coder Social logo

shujaat81 / chatbot_airline Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.13 MB

Chatbot for airline industry which provide promotions to sales executive, without the need of pricing analyst

Python 42.38% HTML 16.99% CSS 6.32% JavaScript 1.95% TypeScript 32.35%

chatbot_airline's Introduction

ChatbotForAirline

Chat bot application developed for the conversation with sales executive on behalf of pricing analyst.

Prerequisites

Tensorflow 2.0 Flask '1.1.1'

Client's Goal

The chat helps connects a sales executive with a Pricing analyst almost anytime of the day. There will be no wastage of time or any delays in taking an action as the chat can happen anywhere anytime on real-time basis. It makes the job of a sales executive easier as he/she can have a chat with an analyst about a certain fare for a market, or make any kind of fare requests to reduce or increase the fares depending on the market performances or seasonality or offers floated in the market currently.

Description for the approach

1- First, we will do intent-based classification on input sentence, if the sentence is regarding offer or any promotion related, we will go with the above described chain. Else we will ask the user to ask question related to promotion. 2- To search for lowest price, we will be writing query to fetch details from the db collection named โ€œ********โ€. 3- Decision loop will be written to compare the price we get from db and sales executive. 4- Function need to be created for calculation of % if the lowest price is not there. 5- Loop will be written for decision to take on the basis of threshold (e.g. 5%). 6- If the % is above threshold, we have written a separate module for raising manual trigger. 7- In auto filing we will file the fare to ATPCO and wait for GFS number with confirmation, once the fare is approved and we have GFS number we need to show the fare in fares tab with time. 8- All the chat transaction record will be saved in db with unique chat id for future reference. We will generate a unique Id using python library uuid, and the conversation chat will be saved as json in mongo dB separate collection using pymongo query.

Summary of project success

The bot performed well for conversation with sales_executive until certain, when the bot was not able to give solution for the question asked it triggers the request for pricing analyst to come and take the charge.

Deployment

Deployed using flask.

chatbot_airline's People

Contributors

shujaat81 avatar

Watchers

James Cloos avatar  avatar

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.