Skip to content

This webapp, born from BEST Hacking League Hackathon, uses an ML model to recommend perfect products to clients via a chatbot powered by OpenAI's language model.

Notifications You must be signed in to change notification settings

Nemezjusz/product-recommender

 
 

Repository files navigation

HardwareHelper

Welcome to the HardwareHelper! This Flask web application utilizes machine learning and OpenAI's language model to provide personalized product recommendations based on data we optained about user.

Features

  • Personalized Recommendations: Users can receive tailored product recommendations based on their demographic information and preferences.
  • Real-time Interaction: The system engages in real-time conversation with users, gathering necessary data and providing recommendations instantly.
  • Product Selection: Recommendations include both laptops and keyboards, offering users a comprehensive selection to choose from.
  • Discounted Offers: Users are informed about discounted prices, enhancing the value proposition of recommended products.

Getting Started

To run the application locally, follow these steps:

git clone https://github.com/norm4nn/Snus-Solutions.git
cd Snus-Solutions

Obtain an API key from OpenAI and create Constansts.py with your API key as API_KEY variable.

Make sure you have all required libraries installed. You can find them in Dependencies section.

Ensure you have the necessary data files (laptops_data.csv and keyboards_data.csv) in the project directory.

python wsgi.py

Access the application in your web browser at http://localhost:5000.

Usage

  1. Upon accessing the application, fill out the provided form with your demographic information and preferences.
  2. Once submitted, the system generates personalized product recommendations based on your input.
  3. Engage in a conversation with the system by typing your messages in the chat interface.
  4. Receive product recommendations and relevant information about discounts in real-time.
  5. Enjoy a seamless and personalized shopping experience!

Dependencies

  • Flask: Web application framework for Python.
  • OpenAI: Python client for the OpenAI API.
  • Pandas: Data manipulation and analysis library.
  • Torch: PyTorch deep learning framework.

User Interface

A client information UI with fields for details like gender, occupation, age, and product preferences. It provides hardware recommendations based on user queries, displaying a conversational interface to suggest items like high-performance laptops and premium keyboards with pricing details.

image

About

This webapp, born from BEST Hacking League Hackathon, uses an ML model to recommend perfect products to clients via a chatbot powered by OpenAI's language model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 91.6%
  • Python 5.3%
  • HTML 3.1%