Skip to content

[GSOC IDEA 1] Added AI assistant, dashboard and student progress tracker.#81

Closed
PixelCode01 wants to merge 21 commits into
alphaonelabs:mainfrom
PixelCode01:ai-assistant-improvements
Closed

[GSOC IDEA 1] Added AI assistant, dashboard and student progress tracker.#81
PixelCode01 wants to merge 21 commits into
alphaonelabs:mainfrom
PixelCode01:ai-assistant-improvements

Conversation

@PixelCode01
Copy link
Copy Markdown

@PixelCode01 PixelCode01 commented Mar 14, 2025

AI Assistant and Progress Tracking Implementation

Contributor: Anant Mishra

Features Implemented:

  • Fully functional AI assistant with dual-model capabilities (Gemini & OpenAI)
  • Interactive chat interface with markdown support and subject selection
  • Teal-themed UI that matches the site's design language
  • Student progress tracking dashboard with visualization[This is in progress]
  • Navigation sidebar for seamless access across the AI ecosystem
  • Mobile-responsive design for all components

Technical Details:

  • Dual AI Model Integration:
    • Gemini API for general subjects (cost-effective for most queries)
    • OpenAI for specialized subjects (math and programming) where precision is critical
    • Automatic model selection based on subject matter
  • Added Dashboard[in progress]
  • Added Progress Tracker[in progress]
  • Added full-width chat input for better usability

Current Status:

While the core functionality is working well, some aspects still need refinement:

  • Progress visualization needs additional metrics
  • Some mobile-specific optimizations are planned
  • Planning to add more subject-specific prompting
  • Dashboard needs more finishing
  • Planning to add voice interaction also

Screenshots:

[Screenshots of AI assistant interface attached]
Screenshot from 2025-03-22 14-16-38
Screenshot from 2025-03-22 14-16-49
Screenshot from 2025-03-22 14-17-07
Screenshot from 2025-03-22 14-17-14
Screenshot from 2025-03-22 14-17-20
Screenshot from 2025-03-22 14-17-25
Screenshot from 2025-03-22 14-17-40

Testing:

The implementation has been tested for:

  1. AI response quality across different subjects
  2. Model switching based on subject selection
  3. Progress tracking data accuracy
  4. Mobile responsiveness on various screen sizes

Cost Efficiency:

The dual-model approach provides significant cost savings while maintaining quality:

  • Using Gemini for ~70% of general queries reduces API costs
  • Reserving OpenAI for specialized technical subjects where its strengths are most valuable

This implementation provides a solid foundation for the AI assistant ecosystem that can be built upon in future iterations.

Summary by CodeRabbit

  • New Features

    • Introduced an interactive AI chat interface with subject selection, real-time messaging, and a responsive design.
    • Launched a comprehensive dashboard displaying conversation metrics, learning activity, and mastery insights.
    • Added a detailed progress view with visual progress indicators and personalized recommendations.
    • Debuted a personalized tutoring experience that tailors responses based on your learning profile.
    • Implemented a settings interface to customize your AI learning preferences.
    • Enhanced the admin interface for managing models related to interactions and user profiles.
    • Introduced a progress tracking system to analyze user learning and identify knowledge gaps.
    • Added support for multiple AI providers to enhance response generation.
    • Introduced new HTML templates for chat, dashboard, settings, and progress views, enhancing the user experience.
    • Added new CSS styles for Markdown content to improve readability.
    • Enhanced logging and error handling for improved application stability.
    • Added a new configuration for API keys and environment variables.
    • Added options for users to manage email and push notification preferences.
  • Bug Fixes

    • Improved error handling for AI responses and user interactions to enhance stability.
    • Enhanced validation for Slack webhook URL to ensure proper message delivery.
  • Chores

    • Updated environment configuration for API keys and dependencies.
    • Added new testing scripts for Gemini API functionality.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GSOC IDEA: AI-Powered Personalized Learning Assistant

3 participants