StudyMate Mini is a Streamlit-based web app that uses OpenAI GPT-3.5 to analyze study content or documents. It generates a concise summary and a short Q&A section to help users understand the material better.
- Upload and analyze TXT, PDF, or DOCX files
- Paste custom study content directly
- GPT-3.5 powered summaries and Q&A generation
- Session logging with summaries and questions
- Word limit enforcement for GPT-3.5 context safety
pip install -r requirements.txtIn your environment variables or in .env:
export OPENAI_API_KEY=sk-your-api-keystreamlit run app.pyapp.py: Main Streamlit applicationprompts/: Prompt templateslogs/: JSON file logging all session datarequirements.txt: Dependency list.gitignore: Files/folders to exclude from Git
Two custom templates are used:
- Summary
- Question & Answer
These are injected dynamically with your input.
- β Mini Demo (prompt-based)
- π Full Flagship (multi-component StudyMate GPT)
Built with π‘ by Rehan Shafi.