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/
- 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.
- Summarizes videos via transcripts.
- Handles long transcripts by chunking.
- Gemini summarization for insights and key points.
- Enter any blog or article URL.
- Extracts readable content, generates bullet summary, highlights, and topics.
- Asks free-form questions about Pega missions.
- Uses FAISS vector store and Gemini fallback.
- Displays chat history with timestamps and feedback.
- 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)
git clone https://github.com/yourusername/genai-capstone.git
cd genai-capstone
python -m venv venv
source venv/bin/activate # On Windows use venv\Scripts\activate
pip install -r requirements.txt
Set the GOOGLE_API_KEY environment variable:
export GOOGLE_API_KEY="your_api_key" # On Windows use: set GOOGLE_API_KEY=your_api_key
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.
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.
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.
Built with ❤️ by manGo