Skip to content

amulya-balaji/CodeAlpha-FAQ-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAQ Chatbot using NLP

Project Overview

This project is an FAQ Chatbot developed using Python, NLTK, and Machine Learning techniques. The chatbot answers user questions by matching them with the most relevant FAQ using TF-IDF Vectorization and Cosine Similarity.

Features

  • NLP Text Preprocessing
  • Tokenization
  • Stopword Removal
  • Lemmatization
  • TF-IDF Vectorization
  • Cosine Similarity Matching
  • Confidence Score
  • Chat History Tracking
  • Help Command
  • Interactive Terminal Interface

Technologies Used

  • Python
  • NLTK
  • Pandas
  • Scikit-Learn

How It Works

  1. User enters a question.
  2. Text is preprocessed using NLP.
  3. TF-IDF converts text into vectors.
  4. Cosine Similarity finds the closest FAQ.
  5. Best matching answer is displayed.

Installation

pip install -r requirements.txt

python download_nltk.py

python chatbot.py

Future Enhancements

  • Streamlit Web Interface
  • Voice Assistant Support
  • Database Integration
  • Deep Learning Models
  • Multi-language Support

About

NLP-based FAQ Chatbot built using Python, NLTK, TF-IDF, and Cosine Similarity as part of the CodeAlpha Internship Program.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages