Skip to content

An AI-powered Ethicallogix app app that extracts, reads, and summarizes documents (PDF, DOCX, TXT, and images) using Google Gemini and OCR (Tesseract).

Notifications You must be signed in to change notification settings

hasiraza/Assignment-Maker-LLM

Repository files navigation

📚 Ethicallogix Assignment Maker

Python
Streamlit
Google Gemini API
Gamma API

Version: 2.1 (Enhanced Edition with Image Generation)
Developer: Muhammad Haseeb Raza

Generate professional academic assignments with AI-powered content and illustrations in just a few clicks.


📝 Features

  • Automated academic assignments generation
  • AI-generated section illustrations via Gamma API
  • Optional Learning Objectives & Grading Rubric
  • PDF, Markdown, and Text export
  • Customizable number of questions and word count
  • Adjustable difficulty level: Beginner → Expert
  • Student and course details dynamically included
  • Preview content and images before download
  • Session caching to prevent repeated API calls
  • Polished UI with Streamlit, including responsive layout and progress tracking

💡 Skills & Technologies Used

  • Python – Core programming language
  • Streamlit – Web UI for interactive forms and previews
  • Google Generative AI (Gemini) – Text generation API
  • Gamma API – AI-powered image generation
  • ReportLab – PDF generation with custom formatting
  • Pillow (PIL) – Image handling
  • Requests – HTTP requests for API calls
  • Environment Management.env files via python-dotenv
  • Logging & Error Handling – Python logging and warnings suppression
  • Data Structures – JSON serialization for session storage
  • File Handling – Download PDFs, Markdown, and Text files

🚀 Project Highlights

  • Assignments generated: Dashboards 10, AI Projects 2, Data Science 5, Web APIs 3
  • Professional formatting: Cover page, student info, page numbers, headings, and subheadings
  • AI content generation: Structured into Introduction, Main Discussion, Conclusion
  • Image generation: Relevant illustrations for main sections (optional, up to 5 sections)
  • Enhanced UX: Progress bars, preview content, and image display

⚙️ Installation

  1. Clone the repository
git clone https://github.com/yourusername/ethicallogix-assignment-maker.git
cd ethicallogix-assignment-maker