Skip to content

adiii6969/codealpha_tasks-Chatbot-for-FAQs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codealpha_tasks-Chatbot-for-FAQs

FAQ Chatbot

A smart, responsive FAQ chatbot built with advanced Natural Language Processing (NLP) techniques. The chatbot uses multiple similarity algorithms to provide accurate answers to user questions with confidence scoring.

FLASK WEB APP VERSION image_alt

STATIC VERSION image_alt

Features

  1. Advanced NLP Processing: Uses cosine similarity, Jaccard similarity, and word overlap algorithms
  2. Multiple Interfaces: Standalone HTML, Python CLI, and Flask web application
  3. Confidence Scoring: Shows confidence levels for each response
  4. Real-time Processing: Instant responses with thinking indicators
  5. Responsive Design: Beautiful, modern UI with glassmorphism effects
  6. Quick Questions: Pre-defined common questions for easy access
  7. Extensible FAQ Database: Easy to add new questions and answers

Live Features:

🔍 Smart question matching

📊 Confidence scoring

💬 Interactive chat interface

🎨 Modern glassmorphism design

📱 Mobile-responsive layout

Quick Start

cd faq-chatbot

  • Install dependencies bashpip install -r requirements.txt

  • Run the application

Option 1: Flask Web App (Recommended) bashpython app.py Open your browser and go to http://localhost:5000

Option 2: Python CLI bashpython chatbot.py

Option 3: Standalone HTML bash# Open the HTML file directly in your browser open faq_chatbot.html

Example Questions

I] "How do I reset my password?"

II] "What are your business hours?"

III] "How do I contact support?"

IV] "What payment methods do you accept?"

V] "How do I cancel my subscription?"

Adding New FAQs

{ "question": "Your new question?",

"answer": "Your detailed answer here...",

"keywords": ["keyword1", "keyword2", "keyword3"]

}

PYTHON VERSION image_alt

About

FAQ chatbot with NLP-powered question matching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors