Skip to content

vortex-001/StudyBuddy-FAQ-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 StudyBuddy FAQ Chatbot

An AI-powered FAQ Chatbot built using Python, Streamlit, and Natural Language Processing (NLP). The chatbot answers frequently asked questions about StudyBuddy and basic programming topics using TF-IDF Vectorization and Cosine Similarity.


📖 Overview

The StudyBuddy FAQ Chatbot is designed to provide quick and accurate answers to users by matching their questions with a predefined FAQ dataset.

Instead of relying on exact keyword matching, the chatbot uses Natural Language Processing techniques to understand user queries and return the most relevant answer.

This project was developed as part of the CodeAlpha Artificial Intelligence Internship.


✨ Features

  • 💬 Interactive chat interface
  • 🧠 FAQ matching using NLP
  • 📚 Supports StudyBuddy-related questions
  • 💻 Answers basic programming questions
  • ⚡ Fast and lightweight
  • 📝 Displays suggested questions for unknown queries
  • 🧹 Clear Chat option
  • 📱 Clean Streamlit interface

🛠️ Technologies Used

  • Python
  • Streamlit
  • Scikit-learn
  • TF-IDF Vectorizer
  • Cosine Similarity
  • JSON

📁 Project Structure

StudyBuddy-FAQ-Chatbot/
│
├── app.py
├── chatbot.py
├── faq.json
├── requirements.txt
├── README.md
└── screenshots/
    └── app.png

⚙️ Installation

1️⃣ Clone the repository

git clone https://github.com/vortex-001/StudyBuddy-FAQ-Chatbot.git

2️⃣ Navigate into the project

cd StudyBuddy-FAQ-Chatbot

3️⃣ Install dependencies

pip install -r requirements.txt

4️⃣ Run the application

streamlit run app.py

The application will automatically open in your default browser.


📸 Screenshot

Application Screenshot


🎯 Future Improvements

  • Voice input support
  • Text-to-Speech
  • Multi-language support
  • Better NLP preprocessing
  • AI-powered conversational responses
  • User authentication
  • Chat history
  • Export conversation

📚 What I Learned

While building this project, I learned:

  • Building web applications using Streamlit
  • Implementing TF-IDF Vectorization
  • Using Cosine Similarity for text matching
  • Working with JSON datasets
  • Basic Natural Language Processing concepts
  • Managing projects using Git and GitHub

👨‍💻 Author

Harsh Garg

B.Tech Computer Science Engineering

GitHub: https://github.com/vortex-001


⭐ If you like this project, consider giving it a star!

About

An AI-powered FAQ Chatbot built using Python, Streamlit, TF-IDF, and Cosine Similarity to answer StudyBuddy and programming-related questions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages