DEV Community

Sajjad Rahman
Sajjad Rahman

Posted on

πŸ“Š Parent-Teacher Meeting Dashboard (Powered by Gemini AI)

Welcome to the Parent-Teacher Meeting Dashboard β€” a user-friendly Streamlit web app designed to enhance communication between teachers and parents.

✨ Powered by Google Gemini (Generative AI), this tool generates personalized and actionable suggestions for parents based on their child's academic performance and feedback.

🎯 It not only helps reduce the operational costs for educational institutions but also enables parents to receive meaningful updates about their child's progress without waiting in long queues during traditional PTMs.

🌟 Features

βœ… Load student performance data from a CSV file
βœ… View key academic metrics like Math, Science, English, and Attendance
βœ… Show strengths, weaknesses, and teacher comments
βœ… Allow parents to leave feedback
βœ… Use Gemini AI to generate tailored suggestions for parents based on feedback and performance
βœ… Save parent feedback for future reference


πŸ“ Project Structure

  • ptm_data.csv – A CSV file containing student performance data
  • streamlit_app.py – The main Streamlit application
  • GEMINI_API_KEY – A required API key to access Google's Gemini AI

🧠 Gemini AI Integration

This app integrates Google Gemini (generativeai) to:

  • Read and process student performance and parent feedback
  • Generate 2–3 actionable suggestions for parents
  • Keep responses concise (approximately 100 words or fewer)

πŸ› οΈ How to Use

1. Clone the repository

git clone https://github.com/sajjadrahman56/ptm-gemini-dashboard.git
cd ptm-gemini-dashboard
Enter fullscreen mode Exit fullscreen mode

2. Install dependencies

pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode

3. Add your Gemini API Key

Create a .streamlit/secrets.toml file:

GEMINI_API_KEY = "your_google_gemini_api_key"
Enter fullscreen mode Exit fullscreen mode

4. Prepare your data

Ensure your ptm_data.csv file is in the root directory and follows this structure:

Name Math Science English Attendance (%) Strengths Weaknesses Comments Suggestions Parent Feedback
John 85 90 88 95 Creative Time Mgmt Shows good potential Follow a study schedule

5. Run the app

streamlit run streamlit_app.py
Enter fullscreen mode Exit fullscreen mode

πŸ”’ Environment & Security

  • API keys are stored securely using Streamlit's secrets feature.
  • CSV file operations are cached for performance.
  • Error handling ensures missing keys or files are handled gracefully.

πŸ“Œ Key Notes for Contributors

  • Ensure you do not commit your actual Gemini API key.
  • Keep your CSV data anonymized or use sample data when sharing.
  • Feel free to improve UI/UX, performance, or AI prompting!

πŸ“¬ Feedback & Suggestions

If you find this useful, want new features, or have ideas, feel free to open an issue or submit a pull request. This app is built for the education communityβ€”your contributions matter!

πŸš€ Live Demo

Visit


πŸ“„ License

This project is open-source and available under the MIT License.

Top comments (2)

Collapse
 
mushfiq56 profile image
mushfiq56

is the Gemini Api key is free ?

Collapse
 
sajjadrahman56 profile image
Sajjad Rahman

New models are free. Always keep on the Gemini API page