A shopping bot implemented in Python, utilizing Naive Bayes classification and Market Basket Analysis.
ShopBot is designed to assist users in making informed shopping decisions by analyzing purchase patterns and providing recommendations.
- Naive Bayes Classification: Classifies items based on user preferences and historical data.
- Market Basket Analysis: Identifies associations between products to suggest complementary items.
- BotUI Frontend: Provides an interactive conversational interface for user interactions.
- There is a known problem with the ordering of messages in the chat interface, which may affect the user experience.
-
Clone the repository:
git clone https://github.com/grzesiekmq/shopbot.git
-
Navigate to the project directory:
cd shopbot
- Install the required Python packages:
pip install -r requirements.txt
- Run the chatbot:
python chatbot.py
- Open frontend/index.html in a web browser to interact with the bot.
shopbot/ ├── chatbot.py # Main bot logic ├── frontend/ │ └── index.html # Frontend interface ├── requirements.txt # Python dependencies └── README.md # Project documentation
MIT License
README assisted by ChatGPT.
