Feature Request: AI-Powered Chatbot Integration for WardhaMetroFlow
Issue Description
Problem Statement
The WardhaMetroFlow website currently lacks an interactive way for passengers to get real-time information about metro services, routes, fares, and schedules. Users have to navigate through multiple pages to find basic information.
Proposed Solution
Implement an AI-powered chatbot that uses LangChain and Google Gemini AI to provide intelligent, context-aware responses based on comprehensive website documentation. The chatbot should be able to answer questions about:
- Metro routes and station information
- Fare structures and pricing
- Operating hours and schedules
- Lost & found procedures
- Contact information and emergency contacts
- General metro etiquette and policies
Feature Requirements
Frontend Integration
Backend Implementation
Knowledge Base
AI Features
Technical Stack
Frontend
- HTML5/CSS3/JavaScript
- Floating chat widget with modern UI
- AJAX calls to backend API
- Timeout handling and error recovery
Backend
- FastAPI framework
- LangChain for AI orchestration
- Google Gemini AI for conversational responses
- FAISS vector store for document retrieval
- Comprehensive logging and error handling
AI/ML
- LangChain Core for RAG (Retrieval-Augmented Generation)
- Google Generative AI embeddings
- Document chunking and vectorization
- Semantic search capabilities
Files to be Modified/Created
New Files
docs/website_info.txt # Comprehensive knowledge base
backend/.env # Environment variables
Modified Files
backend/requirements.txt # Add LangChain dependencies
backend/routers/assistant.py # Replace with LangChain implementation
frontend/components/chatbot.js # Update for new API structure
Environment Setup
Required Dependencies
langchain==0.1.0
langchain-google-genai==1.0.1
google-generativeai==0.3.2
faiss-cpu
Environment Variables
GOOGLE_API_KEY=your_gemini_api_key_here
Testing Requirements
Functional Tests
Integration Tests
Labels
- enhancement
- AI/ML
- frontend
- backend
- hacktoberfest
- hacktoberfest-accepted
Timeline
Target Completion: Before October 31st, 2025
Priority: High
Assignee: Available for Hacktoberfest contribution
Hacktoberfest Contribution
This issue is perfect for Hacktoberfest! It involves:
- Modern AI/ML integration
- Full-stack development (frontend + backend)
- Real-world application with transportation domain
- Comprehensive documentation and testing
Please assign this issue to me for Hacktoberfest participation!
Can the PR be merged before October 31st to count towards Hacktoberfest?
Feature Request: AI-Powered Chatbot Integration for WardhaMetroFlow
Issue Description
Problem Statement
The WardhaMetroFlow website currently lacks an interactive way for passengers to get real-time information about metro services, routes, fares, and schedules. Users have to navigate through multiple pages to find basic information.
Proposed Solution
Implement an AI-powered chatbot that uses LangChain and Google Gemini AI to provide intelligent, context-aware responses based on comprehensive website documentation. The chatbot should be able to answer questions about:
Feature Requirements
Frontend Integration
Backend Implementation
/api/assistant)Knowledge Base
docs/website_info.txt)AI Features
Technical Stack
Frontend
Backend
AI/ML
Files to be Modified/Created
New Files
Modified Files
Environment Setup
Required Dependencies
Environment Variables
Testing Requirements
Functional Tests
Integration Tests
Labels
Timeline
Target Completion: Before October 31st, 2025
Priority: High
Assignee: Available for Hacktoberfest contribution
Hacktoberfest Contribution
This issue is perfect for Hacktoberfest! It involves:
Please assign this issue to me for Hacktoberfest participation!
Can the PR be merged before October 31st to count towards Hacktoberfest?