{"id":29413765,"url":"https://github.com/kuro-2/dumroo-admin-ai","last_synced_at":"2026-04-09T01:32:38.318Z","repository":{"id":303950449,"uuid":"1017263378","full_name":"kuro-2/dumroo-admin-ai","owner":"kuro-2","description":"A Streamlit AI assistant for school admins to query student data using natural language. Powered by Google Gemini via LangChain, it supports role-based access and provides instant insights on performance, submissions, and quizzes through a simple web interface.","archived":false,"fork":false,"pushed_at":"2025-07-10T09:18:59.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-10T17:32:04.714Z","etag":null,"topics":["chatbot","gemini-api","json","langchain","pandas","prompt","python3","query","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kuro-2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-10T09:13:08.000Z","updated_at":"2025-07-10T09:33:07.000Z","dependencies_parsed_at":"2025-07-10T17:34:16.750Z","dependency_job_id":"1233d3e9-f2dd-4107-829b-18dd9f55fcb1","html_url":"https://github.com/kuro-2/dumroo-admin-ai","commit_stats":null,"previous_names":["kuro-2/dumroo-admin-ai"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kuro-2/dumroo-admin-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro-2%2Fdumroo-admin-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro-2%2Fdumroo-admin-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro-2%2Fdumroo-admin-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro-2%2Fdumroo-admin-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuro-2","download_url":"https://codeload.github.com/kuro-2/dumroo-admin-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro-2%2Fdumroo-admin-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","gemini-api","json","langchain","pandas","prompt","python3","query","streamlit"],"created_at":"2025-07-11T12:00:32.452Z","updated_at":"2026-04-09T01:32:38.301Z","avatar_url":"https://github.com/kuro-2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dumroo Admin Panel AI Assistant\n\nA Streamlit-based AI assistant for school administrators to interact with student data using natural language queries. Powered by Google Gemini (Gemini 2.0 Flash) via LangChain, it supports role-based access control and answers questions about student performance, submissions, and quizzes.\n\n---\n\n## 🚀 Features\n\n- **Natural Language Queries:** Ask questions about student data (e.g., \"Show me performance data for Grade 8 from last week\").\n- **Role-Based Access Control:** Admins see only the data relevant to their role (Super Admin, Grade Admin, Class Admin, Region Admin).\n- **Gemini AI Integration:** Uses Google Gemini 2.0 Flash model for fast, accurate responses.\n- **Streamlit UI:** Simple web interface for interaction.\n\n---\n\n## 🛠️ Installation\n\n1. **Clone the repository:**\n    ```bash\n    git clone https://github.com/kuro-2/dumroo-admin-ai.git\n    cd dumroo-admin-ai\n    ```\n\n2. **Install dependencies:**\n    ```bash\n    pip install -r requirements.txt\n    ```\n    Or manually:\n    ```bash\n    pip install streamlit pandas python-dotenv langchain langchain-experimental langchain-google-genai tabulate\n    ```\n\n3. **Set up your Gemini API key:**\n    - Create a `.env` file in the project root:\n      ```\n      GOOGLE_API_KEY=your-gemini-api-key-here\n      ```\n    - Get your Gemini API key from [Google AI Studio](https://aistudio.google.com/app/apikey).\n\n4. **Add your data:**\n    - Place your `data.json` file (student data) in the project directory.\n\n---\n\n## ▶️ Usage\n\nRun the Streamlit app:\n\n```bash\nstreamlit run main.py\n```\n\nOpen the provided local URL in your browser.  \nSelect your admin role, view accessible data, and ask questions in natural language!\n\n---\n\n## 📄 Example Queries\n\n- Which students haven't submitted their homework yet?\n- Show me performance data for Grade 8 from last week.\n- List all upcoming quizzes scheduled for next week.\n- What is the average quiz score for students in 8A?\n- How many students are in the North region?\n- Show me all students with a quiz score less than 75.\n\n---\n\n## 📝 About\n\nThis project demonstrates how AI can empower school administrators to gain insights from student data quickly and securely, using the latest in generative AI and data\n\n## 🖼️ Screenshot\n\n![image](https://github.com/user-attachments/assets/3f469572-9d85-482a-90b2-56d1e7ecfa22)\n![image-1](https://github.com/user-attachments/assets/848eaff0-dd32-4d22-b681-195b37ee4626)\n![image-2](https://github.com/user-attachments/assets/8cf53cdf-2c51-482d-a730-0c696f8ebb76)\n![image-3](https://github.com/user-attachments/assets/b5a81dfe-de9e-40ce-8f09-4b992ce6b9fc)\n![image-4](https://github.com/user-attachments/assets/4cd0f6b9-edd4-47fc-8b16-1750a8323576)\n![image-5](https://github.com/user-attachments/assets/b7a2def7-42e7-4d4c-9123-f17c9851c809)\n![image-6](https://github.com/user-attachments/assets/b4b76fce-26e9-4d31-accf-8d496dc517f4)\n![image-7](https://github.com/user-attachments/assets/a0085ce7-29a1-4afb-af5f-3a5b7d5c24be)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuro-2%2Fdumroo-admin-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuro-2%2Fdumroo-admin-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuro-2%2Fdumroo-admin-ai/lists"}