How vibhasdutta/pc-assistant works
Main Components
a) Core System Components:
• Core Engine (Core_main.py)
• Rule-Based AI Decision System
• Speech Recognition & Text-to-Speech Interface
• Task Scheduler
b) Feature Modules:
• Communication Services (Gmail, WhatsApp)
• Calendar Management
• Weather Service
• Web Automation
• Gemini LLM Integration
• Search Functionality
c) Data Storage:
• City Database
• Response Data Storage
• Credentials Management
┌─ User Interface Layer ─────────────────────┐
• Speech Recognition │
• Text-to-Speech │
• Command Processing │
• ┬───────────────────────┘
• ↓
┌─ Core Processing Layer ───────────────────┐
• Rule-Based AI Engine │
• Task Management │
• Command Router │
• ┬───────────────────────┘
• ↓
┌─ Feature Services Layer ──────────────────┐
• ┌─────────┐ ┌─────────┐ ┌──────────────┐ │
• Gmail │ │ Weather │ │ WhatsApp │ │
• ┘ └─────────┘ └──────────────┘ │
• ┌─────────┐ ┌─────────┐ ┌──────────────┐ │
• Calendar │ │ Search │ │ Web Auto │ │
• ┘ └─────────┘ └──────────────┘ │
• ┬───────────────────────┘
• ↓
┌─ External Services Layer ─────────────────┐
• Gemini API │
• Weather API │
• Google APIs (Gmail, Calendar) │
• ┘
Important Elements to Highlight
• User input → Speech Recognition → Core Engine
• Core Engine → Feature Services
• Feature Services → External APIs
• Response flow back to user
b) Integration Points:
• API connections (Gemini, Weather, Google Services)
• Database interactions
• File system operations
Additional Notes
• Version compatibility (Windows 10+, Python 3.11.6)
• API key requirements
• Resource requirements (8GB RAM minimum)
• Extensibility points for custom features
• Rule-based approach implementation
• Threading model for parallel processing
• API integration strategy
• Security considerations for credential management
This will help other developers understand both the current architecture and how to extend it in the future.