Giter Club home page Giter Club logo

elysian01 / fruit-seller-chatbot-with-recommendation-system Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 48.5 MB

Fruits/Vegetable Seller Bot With Recommendation System Integrated (Using Apriori Algorithm) And MySql Database to record all the transactions and products/stock details.

License: MIT License

Jupyter Notebook 82.53% Python 17.47%
rasa-chatbot rasa fruits-and-vegetables fruit-bot recommender-system apriori-algorithm mysql-database python

fruit-seller-chatbot-with-recommendation-system's Introduction

Fruit-Seller-Chatbot-with-Recommendation-System ๐Ÿค–

Fruits/Vegetable Seller Bot With Recommendation System Integrated (Using Apriori Algorithm) And MySql Database to record all the transactions and products/stock details.

Install dependencies

pip install rasa

Installation docs: https://rasa.com/docs/rasa/installation/

Create a new python environment

conda create --name rasa python=3.6

Install all the requirements

pip install -r requirements.txt

Import SQL database "fruit_rasa" to your local server (Xampp)

Optional Installation

pip install rasa-x

Import and setup the Mysql database

Run the bot

Use rasa train to train a model.

Then, to run, first set up your action server in one terminal window:

rasa run actions

In another window, run the following command to talk to the bot:

rasa shell --debug

Note that --debug mode will produce a lot of output meant to help you understand how the bot is working under the hood. To simply talk to the bot, you can remove this flag.

You can also try out your bot locally using Rasa X by running

rasa x

Integrated Features

  • Sign In and Sign Up functionality with DB support
  • User can check if the company sells a particular fruit or not
  • Check the price of fruits
  • Fruit menu which display fruit and price per kg
  • User can verify the product detail which he want to purchase before checkout
  • User can place order, which will then be stored in DB
  • User can get details of his last purchase as well as all purchases
  • Product Recommendation using Apriori Algorithm integrated

Admin Features

  • Questions
    • Who are my best customers
    • Area from, where i get max profit
    • Best selling product
    • What is my current stock of apples in mumbai
    • What is my total revenue
    • Montly revenue
    • Profit earn from selling apples in nagpur
    • Which products are not selling
    • Which fruits are giving me loss
    • What is the most asked fruit and i don't have it

Future Improvements

  • Question => Price of 2 kg of apple
  • Subsription feature for a particular or variety of fruits
  • Give out to actual user, to make the model learn and handle extreme cases
  • Check if the user already exists during sign up
  • Use encryption to save password
  • Check for user valid input (Sql injection)

fruit-seller-chatbot-with-recommendation-system's People

Contributors

elysian01 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

t3ch9 vivekanon

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.