Skip to content

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.

License

Notifications You must be signed in to change notification settings

l1ght14/chatbot

Repository files navigation

📘 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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published