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.
- 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.
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
.
- Upon accessing the application, fill out the provided form with your demographic information and preferences.
- Once submitted, the system generates personalized product recommendations based on your input.
- Engage in a conversation with the system by typing your messages in the chat interface.
- Receive product recommendations and relevant information about discounts in real-time.
- Enjoy a seamless and personalized shopping experience!
- Flask: Web application framework for Python.
- OpenAI: Python client for the OpenAI API.
- Pandas: Data manipulation and analysis library.
- Torch: PyTorch deep learning framework.
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.