Skip to content

manjunatharao26/genai-capstone

Repository files navigation

🧠 GenAI Capstone - AI Study Companion

Welcome to the GenAI Study Companion, a multi-modal, GenAI-powered learning assistant that helps you summarize Pega Academy missions, YouTube videos, and blog articles—then turns them into study plans, quizzes, and more.

🔗 Live App: https://ai-study-companion.streamlit.app/


✨ Features

📘 Pega Mission Study Guide

  • Scrapes multi-step Pega Academy missions.
  • Generates summaries, quizzes, and key concepts.
  • Provides structured JSON and timeline-style study plans.
  • Q&A support with vector search + Gemini fallback.

📺 YouTube Summarizer

  • Summarizes videos via transcripts.
  • Handles long transcripts by chunking.
  • Gemini summarization for insights and key points.

📰 Blog & Article Summarizer

  • Enter any blog or article URL.
  • Extracts readable content, generates bullet summary, highlights, and topics.

💬 Ask Me Anything (RAG)

  • Asks free-form questions about Pega missions.
  • Uses FAISS vector store and Gemini fallback.
  • Displays chat history with timestamps and feedback.

✅ GenAI Features Covered

  • Gemini Pro API (text + summarization + evaluation)
  • Few-shot prompting
  • Retrieval Augmented Generation (RAG)
  • Vector embeddings with FAISS
  • Document understanding (video + web)
  • Controlled generation with structured JSON
  • Long-context handling
  • Evaluation of AI outputs (summary & quiz)

🚀 Running the Application Locally

1. Clone the Repository

git clone https://github.com/yourusername/genai-capstone.git
cd genai-capstone

2. Create and Activate a Virtual Environment

python -m venv venv
source venv/bin/activate  # On Windows use venv\Scripts\activate

3. Install the Required Dependencies

pip install -r requirements.txt

4. Set the Gemini API Key

Set the GOOGLE_API_KEY environment variable:

export GOOGLE_API_KEY="your_api_key"  # On Windows use: set GOOGLE_API_KEY=your_api_key

🧪 Running the Apps

You can run either app directly or both through a single launcher.

Option A: Standalone Apps

streamlit run genai_urlsumriz/app.py
# This launches the YouTube/blog summarizer.
streamlit run AIstudy_companion/app.py
# This launches the full Pega study companion with a radio toggle for modes.

🔮 Limitations

Gemini API context window limits.

Limited evaluation scoring (mostly qualitative).

No login/authentication or persistent user data.

Transcripts and blog parsing may fail for noisy content.

🌱 Future Enhancements

Add file/document upload (PDF, DOCX).

Daily learning reminders and progress tracking.

Save and revisit previous study sessions.

Collaborative study group rooms.

Enhanced visualizations and analytics.

🧑‍💻 Author

Built with ❤️ by manGo

📅 Capstone Project - Google GenAI Intensive Q1 2025

Medium Post: Mediuum Article

Kaggle Notebook: Public Kaggle NoteBook

📸 Screenshots

🔹 Summary View

Summary Screenshot

🔹 Video Summarizer

Quiz Screenshot

🔹 Ask Me Anything (RAG)

Ask Screenshot

About

Lets experiment with AI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published