Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🤖 CodeAlpha FAQ Chatbot

Header Banner

Live Demo Python 3.10+ Scikit-Learn License: MIT

An intelligent, NLP-powered conversational assistant designed to resolve queries regarding the CodeAlpha Artificial Intelligence Internship program.

Cyberpunk Dev

🌟 Live Demo & Deployment

Feature Link
🚀 Live Web App Launch CodeAlpha FAQ Chatbot
🐙 GitHub Repository CodeAlpha_ChatbotForFAQs

Cyberpunk Dev

🎯 Project Overview

The CodeAlpha FAQ Chatbot addresses the need for instant, accurate, and 24/7 informational query resolution for internship candidates. By replacing resource-heavy deep learning models with an optimized statistical Natural Language Processing (NLP) framework, this assistant delivers zero-latency answers directly to user queries through a modern, reactive web UI.

💡 Core Highlights

  • Zero-Hardware Dependency: Runs entirely in the browser and cloud without microphone or camera permissions.
  • Instant Intent Matching: Powered by Term Frequency–Inverse Document Frequency (TF-IDF) and Cosine Vector Similarity.
  • Smart Search Bar: Typing auto-complete selector eliminates tedious manual phrasing.
  • Interactive UI Scaffolding: Features 8 one-click suggestion chips and an integrated Dark/Light mode engine.

Cyberpunk Dev

🏗️ System Architecture & Workflow

flowchart TD
    A([👤 User Input]) --> B{Input Type}
    B -->|Quick Suggestion Chip| E[Query String]
    B -->|Smart Search Dropdown| E
    B -->|Custom Typed Query| E
    
    E --> F[🧹 NLP Preprocessing Engine]
    F --> G[🔤 TF-IDF Vectorizer]
    
    subgraph KnowledgeBase [📚 Knowledge Base]
        H[(faqs.json)] --> I[Pre-computed FAQ Vectors]
    end
    
    G --> J[📐 Cosine Similarity Matrix]
    I --> J
    
    J --> K{Score > 0.25?}
    K -->|✅ Yes: High Confidence| L[🎯 Best Matching FAQ Answer]
    K -->|❌ No: Low Confidence| M[⚠️ Fallback Clarification Message]
    
    L --> N([💬 Streamlit Reactive Chat UI])
    M --> N
Loading

About

An intelligent, NLP-powered conversational assistant designed to resolve queries regarding the CodeAlpha Artificial Intelligence Internship program.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages