How sifat192/ai-studybuddy works
AI Study Buddy is a small Streamlit app for generating study material. A student enters a topic, chooses one of three modes, and clicks Generate; the app builds a mode-specific prompt, requests content from Gemini, and displays the response. The workflow is implemented in one source file, so the interface, prompt construction, and rendering are shown as distinct responsibilities sharing that path. No persistent storage is documented. Edges reflect the README and the sampled source; no other runtime modules appear in the source index.
Main entry points: product.py Study Interface
Components 5
Other components
- Student
- Study Interface
product.py - Prompt Builder
product.py - Gemini API
- Response Display
product.py
Connections 4
- Student → Study Interface: enters topic, selects mode
product.py - Study Interface → Prompt Builder: builds prompt
product.py - Prompt Builder → Gemini API: requests generation
product.py - Gemini API → Response Display: returns content
product.py