Skip to content

Extract Amazon customer reviews of select products via a third-party educational web scrapper, analyze them with LLM, and display concise summaries using an interactive user interface.

License

Notifications You must be signed in to change notification settings

ShahMitul-GenAI/ReviewEngine

Repository files navigation

Customer Review Engine

This project automates the process of harvesting and summarizing Amazon customer reviews for a specified product. Using OpenAI, it provides a concise summary of customer feedback, helping users quickly understand the general sentiment and key points from multiple reviews.

Demo

Demo Image

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/shahmitul-genai/ReviewEngine
  2. Navigate to the project directory

    cd customer_reviews
  3. Install Poetry using pip (if not already installed):

    pip install poetry
  4. Activate the virtual environment created by Poetry:

    poetry shell
  5. Install project dependencies using Poetry:

    poetry install

Configuration

Create a .env file and add your own OpenAI API key in the .env file as follows:

OPENAI_API_KEY='your-key-here'

Usage

  1. After installing the dependencies, you can run the Streamlit app in root directory by executing the following command:

    streamlit run app_cr.py
  2. Follow the prompts to input the product description

  3. Move the slide bar to select number of reviews to pull.

  4. The script will display the top 10 ranking customer reviews and the overall review summary.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Extract Amazon customer reviews of select products via a third-party educational web scrapper, analyze them with LLM, and display concise summaries using an interactive user interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published