An AI-powered FAQ chatbot built with Python, Flask, and Natural Language Processing (NLP). The chatbot understands user questions, finds the most relevant FAQ using TF-IDF Vectorization and Cosine Similarity, and provides intelligent responses through a clean, responsive web interface.
- AI-powered FAQ matching
- Natural Language Processing (NLP)
- TF-IDF Vectorizer
- Cosine Similarity search
- Conversation history
- Dark / Light mode
- Suggested questions
- Typing animation
- Responsive UI
- Clean and modern design
- Python 3
- Flask
- HTML5
- CSS3
- JavaScript
- Scikit-learn
- NLTK
Task-02-AI-FAQ-Chatbot
│
├── app.py
├── chatbot.py
├── preprocess.py
├── config.py
├── faq_dataset.json
├── requirements.txt
│
├── services/
│ ├── history_service.py
│ └── nlp_service.py
│
├── history/
│ └── chat_history.json
│
├── templates/
│ └── index.html
│
├── static/
│ ├── css/
│ │ └── style.css
│ └── js/
│ └── script.js
│
└── README.md
git clone https://github.com/yourusername/Task-02-AI-FAQ-Chatbot.gitcd Task-02-AI-FAQ-Chatbotpython -m venv .venvWindows
.venv\Scripts\activateLinux / macOS
source .venv/bin/activatepip install -r requirements.txtpython app.pyOpen:
http://127.0.0.1:5000
- What is Artificial Intelligence?
- Explain Machine Learning
- What is Flask?
- Explain NLP
- What is Python?
- What is Data Science?
- Voice Input
- Voice Output
- OpenAI / Gemini Integration
- Multi-language Support
- User Authentication
- Database Storage
- Chat Export
- AI Learning from New FAQs
M Asim Imtiaz
BS Artificial Intelligence
AI / ML Developer
This project was developed for educational and internship purposes.