haiderijaz/EduGenie-AI-Academic-Assistant
2
๐ง EduGenie โ AI Academic Assistant
EduGenie helps students and teachers generate educational content with AI โ summaries, quizzes, lesson plans, diagrams, and explanations from PDFs, audio, images, or typed text.
โจ Features
- ๐ Accepts input from:
- Typed academic content
- PDF textbooks
- Scanned diagrams (OCR)
- Voice recordings (speech-to-text)
- ๐ฏ Generates:
- ๐ Summaries
- ๐ง Explanations
- ๐ Quizzes (MCQs, True/False, Fill in the Blank)
- ๐ Lesson Plans (with class/grade)
- ๐ผ๏ธ Mermaid.js Diagrams
- ๐ Supports output in multiple languages (e.g., English, Urdu, Arabic)
- ๐ Bloomโs Taxonomy quiz level detection and customization
- ๐ Text-to-Speech playback of generated output
- ๐ง Built-in RAG (Retrieval-Augmented Generation) for file-specific Q&A
- ๐ค Export results as
.txtor.pdffiles
๐ฆ Directory Structure
EduGenie/
โโโ app.py
โโโ requirements.txt
โโโ README.md
โโโ style.css
โโโ static/
โ โโโ index.html
โโโ utils/
โโโ bloom_detector.py
โโโ diagram_ocr.py
โโโ export_tools.py
โโโ llm_client.py
โโโ pdf_handler.py
โโโ prompt_builder.py
โโโ rag_client.py
โโโ text_to_speech.py
โโโ voice_to_text.py๐ Run Locally
git clone https://huggingface.co/spaces/your-username/EduGenie
cd EduGenie
pip install -r requirements.txt
python app.py๐ง Technologies Used
- Gradio โ UI framework
- Groq โ LLaMA 3 API calls
- Whisper โ audio transcription
- Tesseract + OpenCV โ diagram OCR
- SentenceTransformers + FAISS โ RAG for vector search
- ReportLab + python-docx โ file export
- gTTS โ text-to-speech
๐ License
MIT License โ free to use and modify for educational purposes.
