Skip to content

About

AI-powered FAQ chatbot using NLP, TF-IDF vectorization, and cosine similarity for intelligent FAQ matching.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Cognia — FAQ Chatbot

Cognia is an AI-powered FAQ chatbot designed to answer frequently asked questions using Natural Language Processing (NLP).

Instead of relying only on exact keyword matches, Cognia preprocesses the user's question and compares it with a collection of FAQ examples using TF-IDF vectorization and Cosine Similarity. This allows the chatbot to recognize different ways of asking the same question.

CodeAlpha Internship — Task 2

Task: FAQ Chatbot

Features

  • 💬 Interactive chatbot interface
  • 🧠 NLP-based question matching
  • 📊 TF-IDF text vectorization
  • 📐 Cosine similarity matching
  • 📚 Structured FAQ knowledge base
  • 🔎 Supports different phrasings of FAQ questions
  • 🏫 Covers common student-related topics
  • 🕘 Conversation history
  • ⚙️ Settings page
  • 🌙 Responsive interface
  • 📱 Mobile-friendly design

FAQ Categories

Cognia contains FAQ knowledge covering areas such as:

  • Admissions
  • Fees
  • Hostel
  • Examinations
  • Academics
  • Technical Support
  • Student Services

How It Works

The chatbot follows a simple NLP pipeline:

User Question
      ↓
Text Preprocessing
      ↓
TF-IDF Vectorization
      ↓
Cosine Similarity
      ↓
Compare with FAQ Examples
      ↓
Best Matching FAQ
      ↓
Chatbot Response

About

AI-powered FAQ chatbot using NLP, TF-IDF vectorization, and cosine similarity for intelligent FAQ matching.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages