An open API service indexing awesome lists of open source software.

https://github.com/l1ght14/chatbot

Book Recommender Chatbot is a rule-based web app built with Python and Flask. It uses popularity and collaborative filtering to recommend books based on user preferences, offering personalized suggestions via a chat interface.
https://github.com/l1ght14/chatbot

bookrecommender chatbot css flask html jvascript python rule-based

Last synced: 6 months ago
JSON representation

Book Recommender Chatbot is a rule-based web app built with Python and Flask. It uses popularity and collaborative filtering to recommend books based on user preferences, offering personalized suggestions via a chat interface.

Awesome Lists containing this project

README

          

# 📘 Book Recommender Chatbot

## 🔍 Overview

A rule-based chatbot that provides book recommendations using Popularity-Based and Collaborative Filtering techniques. Built with Python (Flask) for backend and HTML/CSS/JavaScript for frontend.

## 💡 Features

- Recommends books based on user interests or popular titles
- Uses Collaborative Filtering and Popularity-Based Filtering
- Rule-based chatbot for basic conversation
- Google Books API for fetching book info
- Real-time web interface built using Flask

## 🧰 Tech Stack

- **Backend:** Python, Flask, NumPy, Pandas, Pickle
- **Frontend:** HTML, CSS, JavaScript
- **APIs:** Google Books API
- **Tools:** PyCharm

## 💻 Key Functions

- `recommend()`: Returns similar books using cosine similarity
- `GenerateRecommendation()`: Random top-book recommendations
- `responses()`: Rule-based conversation logic
- `sanitizeText()`: Cleans user input

## 📦 Data

- Book Recommendation Dataset from Kaggle (Books, Users, Ratings)

## 🌐 Deployment

- Localhost with Flask, open-source project for learning-based use