Skip to content

AI-powered platform for personalized tutoring and quiz generation across subjects and languages. Adapts explanations and quizzes to each learner’s style and proficiency using LLMs. FastAPI backend, Streamlit frontend.

Notifications You must be signed in to change notification settings

Tejas-00/StudyGenie-AI-Powered-Personal-Tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 StudyGenie – AI-Powered Personalised Tutor & Quiz App

Build Status License Deploy on Streamlit Cloud


Table of Contents


Features

  • 🎓 Personalized AI Tutoring: Adaptive explanations tailored to subject, level, learning style, and language.
  • 📝 Quiz Generation: Custom, interactive multiple-choice quizzes with answer reveal and explanations.
  • 📄 PDF Upload & Analysis: Extracts content, generates summaries, and creates flashcards from study PDFs.
  • 🃏 Flashcards: Auto-generated, topic-based flashcards for active recall.
  • 💬 PDF Discussion Chat: Ask questions about your uploaded PDF and get AI-powered, content-specific answers.
  • 🌐 Multi-language Support: English, Hindi, Spanish, French.
  • 🧠 Learning Style Adaptation: Visual, Text-based, and Hands-on learning formats.

Demo / Screenshots / GIFs / Live Link

![StudyGenie Screenshot](alt text)

Live Demo: Streamlit Cloud Link


Installation / Setup Instructions

  1. Clone the repository:

    git clone https://github.com/yourusername/StudyGenie.git
    cd StudyGenie
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up environment:

    • Create a .env file in the root directory.
    • Add your Google Gemini API key:
      GEMINI_API_KEY=your-gemini-api-key
      
  4. Start the backend (FastAPI):

    cd backend
    uvicorn main:app --reload
  5. Launch the frontend (Streamlit):

    cd ../frontend
    streamlit run [app.py](http://_vscodecontentref_/0)

Usage

  • Ask a Question:
    Go to the "Ask a Question" tab, select your preferences, and get a personalized explanation.
  • Take a Quiz:
    Generate and interact with quizzes on your chosen subject and level.
  • Upload PDF:
    Upload study materials, get summaries, and auto-generated flashcards.
  • Flashcards:
    Review and navigate through flashcards generated from your PDF.
  • Discuss:
    Chat with the AI about your uploaded PDF content.

Project Structure

StudyGenie/
│
├── backend/
│   ├── ai_engine.py         # AI logic, prompt engineering, quiz/flashcard generation
│   ├── main.py              # FastAPI app, API endpoints
│   └── utils.py             # Utility functions (if any)
│
├── frontend/
│   └── app.py               # Streamlit UI
│
├── Images/
│   └── AITutor.png          # App screenshot(s)
│
├── requirements.txt         # Python dependencies
├── runtime.txt              # Python version
├── .env.example             # Example environment variables
├── .gitignore
└── README.md

Tech Stack

  • Frontend: Streamlit
  • Backend: FastAPI
  • AI/LLM: Google Gemini via LangChain
  • PDF Processing: PyPDF2
  • Data Validation: Pydantic
  • API Server: Uvicorn
  • Environment Management: python-dotenv

Contributing Guidelines

Contributions are welcome!
Please open issues or submit pull requests for improvements, bug fixes, or new features.

  1. Fork the repo and create your branch.
  2. Make your changes and add tests if applicable.
  3. Ensure code style and formatting.
  4. Submit a pull request with a clear description.

License

This project is licensed under the MIT License.


Made with ❤️ for learners everywhere!

About

AI-powered platform for personalized tutoring and quiz generation across subjects and languages. Adapts explanations and quizzes to each learner’s style and proficiency using LLMs. FastAPI backend, Streamlit frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages