Giter Site home page Giter Site logo

aishik999 / e-commerce-review-analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 KB

Scrape product reviews from e-commerce sites (Amazon as of now) and perform sentimental analysis on them using LLM and prompt engineering

License: GNU General Public License v3.0

Python 100.00%
amazon analysis gemini generative-ai google-gemini review review-analysis selenium

e-commerce-review-analysis's Introduction

E-Commerce Review Analysis

Python program to scrape real-world customer reviews for listed products on e-commerce websites like Amazon. The program scrapes these reviews and then transfers them to a Large Language Model of your choice (currently using Google Gemini) to generate market survey analysis in an unattended mode

Usage

To use this program, you need to provide the API key for using Google Generative AI models and run app.py. It will ask for the Amazon ASIN code. Provide the ASIN code, and it will generate the analysis report, along with the reviews in the "reviews" directory.

Requirements

  • Python 3.x
  • Necessary Python libraries (specified in requirements.txt)
  • API key for Google Generative AI models

Steps

  1. Clone the repository or download the source code.
  2. Install the required Python libraries using pip install -r requirements.txt.
  3. Set up the API key for Google Generative AI models at utils\llm_analyzer.py, line 14
  4. Run app.py using python app.py.
  5. Enter the Amazon ASIN code when prompted.
  6. Wait for the program to scrape the reviews and generate the analysis report.
  7. The analysis report and reviews will be saved in the reviews directory.

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under GNU GPL v3

NOTICE

    E commerce review analysis
Python program to scrape real-world customer reviews for listed products on e-commerce websites like Amazon. The program scrapes these reviews and then transfers them to a Large Language Model of your choice (currently using Google Gemini) to generate market survey analysis in an unattended mode

    Copyright (C) 2024  Aishik Mukherjee

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

e-commerce-review-analysis's People

Contributors

aishik999 avatar

Watchers

 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.