An intelligent, NLP-powered conversational assistant designed to resolve queries regarding the CodeAlpha Artificial Intelligence Internship program.
| Feature | Link |
|---|---|
| 🚀 Live Web App | Launch CodeAlpha FAQ Chatbot |
| 🐙 GitHub Repository | CodeAlpha_ChatbotForFAQs |
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.
- 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.
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
