Story 17.4: AI Support Chatbot
| Field | Value |
|---|---|
| Story Points | 13 |
| Sprint | Sprint 76-77 |
User Story
As a User
I want to chat with an AI assistant
So that I can get instant help 24/7
Key Features
- Floating chat widget on all pages
- AI answers based on knowledge base (RAG)
- Context-aware (knows current page/module)
- Bilingual support (English + Hindi)
- Escalate to human support when needed
- Suggest related articles
- Remember conversation history
- Feedback on AI responses (👍👎)
Intent Classification
| Intent | Example | Action |
|---|---|---|
| HOW_TO | "How do I mark attendance?" | Search KB + Generate steps |
| TROUBLESHOOT | "Attendance not working" | Diagnostic flow |
| FEATURE_REQUEST | "Can you add X?" | Log request |
| ESCALATE | "Talk to human" | Create ticket |
| GENERAL | Other questions | Claude API |
Tech Stack
- LLM: Claude Sonnet 4 (via Anthropic API)
- RAG: Qdrant vector database
- Embeddings: text-embedding-3-small