This chatbot is designed to provide fashion product recommendations using data from Flipkart's catalog. It utilizes a combination of machine learning techniques and openAI models to understand user preferences and suggest relevant fashion items available on the platform.
-
Product Recommendation: The chatbot leverages advanced algorithms to recommend fashion products based on user input and preferences. Users can describe their preferences, and the chatbot will provide tailored suggestions.
-
Query Interpretation: The chatbot uses NLP to interpret user queries. Users can input descriptions, styles, occasions, or any relevant information about the type of fashion product they are looking for.
-
Input Query: Start a conversation with the chatbot by sending a text query describing your fashion preferences. For example: "I'm looking for casual summer dresses."
-
Receive Recommendations: Based on the information you provided, the chatbot will generate and display a list of recommended fashion products available on the data. Each recommendation will include product details, images, prices, and links to the product page.
-
Explore Recommendations: Browse through the recommendations and click on the product links to view more details or make a purchase on shop platform.
Follow these steps to run the chatbot on your local machine:
-
Make sure you have Python installed. You can download it from the official Python website.
-
Clone this repository to your local machine using the following command:
git clone https://github.com/Nerds-Catapult/recommender.git
Install the required dependencies using pip:|
pip install -r requirements.txt
- Replace the openAI key with your openAI api key in dbsetup.py
- Make sure a local instance of Redis Stack is up and running
- run the dbsetup.py first to setup the local redis database.
- In the project directory, locate the main Python file (app.py).
- Run the chatbot application using the following command:
python app.py
The chatbot should now be running locally. Open your web browser and visit http://localhost:5000 to interact with the chatbot.
To stop the chatbot, go back to the terminal where the application is running and press Ctrl + C.