How mdhasnainali/kuet-cse-bitfest-2024-hackathon-machine_mindset works
Data Flow Architecture
• User requests flow from frontend to backend
• Authentication flow
• AI model inference requests
• PDF generation pipeline
• Database interactions
• Training data flow for model improvement
Key Subsystems
a. Content Management System
• PDF Generation Pipeline
• Font Management
• Public/Private Content Handling
b. User Management
• Teacher Portal
• Student Portal
• Administrator Dashboard
c. AI Components
• Banglish to Bangla Converter
• Chatbot System
• Auto-correction System (GPT Integration)
Integration Points
Clear connections between:
• Frontend and Backend API endpoints
• Backend and AI Microservice
• MLflow monitoring and model training
• Mobile app API integration
Security Layer (Red)
• JWT Authentication flow
• API security middleware
• User role management
Deployment Architecture
• Docker container for backend
• AI model serving infrastructure
• Database system
• Frontend hosting
• Security boundaries
• External service integrations
Special Considerations:
AI Pipeline Flow
• Flow from Banglish input
• GPT preprocessing step
• Llama model processing
• Response generation
Content Management Flow
• Document the PDF generation pipeline
• Font selection system
• Storage and retrieval process
Analytics System
• Data collection points
• Metrics processing
• Dashboard data flow
Mobile Integration
• How the Flutter app interfaces with the backend
• Shared authentication system
• API endpoint usage
This system design should emphasize the unique aspects of BanglaShift, particularly the AI integration and language processing capabilities, while clearly showing how all components work together to deliver the core functionality.