This is an intelligent FAQ chatbot built using Python, Flask, and deep learning that answers frequently asked questions related to a college environment (admissions, academics, events, etc.). The chatbot is trained on a custom dataset and responds in real-time through a web interface.
- Real-time automated responses to FAQs
- Deep learning-based text classification (Keras)
- NLP-based input cleaning and understanding
- Dynamic response selection from CSV
- Lightweight Flask-based web interface
- Easily extendable and customizable dataset
- Works offline (local model and tokenizer)
- Python
- Flask
- TensorFlow / Keras
- NLTK
- Pandas
- NumPy
- Joblib
- HTML
- User submits a question via the web interface.
- The input is cleaned using NLP (tokenization, lemmatization, etc.).
- The cleaned text is converted to sequences using a saved tokenizer.
- The sequence is fed to the trained Keras model for classification.
- Based on the predicted label, a random response is fetched from
response.csv. - The chatbot returns the selected response in real time.
- Clone the repository:
git clone https://github.com/yourusername/FAQ-Chatbot.git cd FAQ-Chatbot - Install dependencies:
pip install -r requirements.txt3.Download NLTK data (one-time setup):
import nltk
nltk.download('wordnet')4.Run the app:
python app.py5.Open in browser:
http://127.0.0.1:5000/