{"id":29835058,"url":"https://github.com/yusufahmed9/bob-bot","last_synced_at":"2026-04-19T06:47:46.470Z","repository":{"id":306604433,"uuid":"1026696268","full_name":"YusufAhmed9/BoB-bot","owner":"YusufAhmed9","description":"Your Educational helper","archived":false,"fork":false,"pushed_at":"2025-07-26T17:39:15.000Z","size":20456,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-26T19:35:05.846Z","etag":null,"topics":["artificial-intelligence","llms","nlp","prompt-engineering","python","telegram"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/YusufAhmed9.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-26T12:22:25.000Z","updated_at":"2025-07-26T17:39:19.000Z","dependencies_parsed_at":"2025-07-26T19:45:10.701Z","dependency_job_id":null,"html_url":"https://github.com/YusufAhmed9/BoB-bot","commit_stats":null,"previous_names":["yusufahmed9/bob-bot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/YusufAhmed9/BoB-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YusufAhmed9%2FBoB-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YusufAhmed9%2FBoB-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YusufAhmed9%2FBoB-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YusufAhmed9%2FBoB-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YusufAhmed9","download_url":"https://codeload.github.com/YusufAhmed9/BoB-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YusufAhmed9%2FBoB-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267685513,"owners_count":24127706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["artificial-intelligence","llms","nlp","prompt-engineering","python","telegram"],"created_at":"2025-07-29T12:16:44.062Z","updated_at":"2026-04-19T06:47:46.417Z","avatar_url":"https://github.com/YusufAhmed9.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 Project Report: BoB Bot – Your AI-Powered Learning Assistant\n\n## 📌 Project Title\n**BoB Bot – AI Telegram Bot for Summarizing, Quizzing, and Finding Learning Resources**\n\n---\n\n## 📚 Objective\n\nBoB Bot is a Telegram-based educational assistant designed to:\n- 📑 Summarize lectures, PDFs, or custom topics\n- ❓ Generate MCQs for revision and testing\n- 🔎 Discover online resources (videos, notes, papers)\n\nBuilt to support active learning with the help of local LLM inference (OpenHermes) and responsive user interaction.\n\n---\n\n## 🛠️ Tools \u0026 Technologies Used\n\n| Tool / Tech              | Purpose                                |\n|--------------------------|----------------------------------------|\n| **Python**               | Core development language              |\n| **TeleBot**              | Telegram bot framework                 |\n| **OpenHermes via Ollama**| Local LLM for summarization \u0026 MCQs     |\n| **LangChain**            | Prompt management, chat memory         |\n| **PyMuPDF (fitz)**       | PDF text extraction                    |\n| **Regular Expressions**  | Parsing answers \u0026 cleaning GPT output  |\n| **YouTube API** (or scraping) | Finding relevant video content |\n| **Google Search / SerpAPI** | Web-based learning material search  |\n\n---\n\n## ⚙️ Key Features\n\n### 📄 1. Topic or PDF Input\n- User can either **enter a topic** or **upload a PDF**.\n- PDF contents are extracted and cleaned before processing.\n\n### 🧠 2. Summarization\n- The **OpenHermes** model generates a structured, clean summary of the content.\n- Summaries are tailored to be short, informative, and beginner-friendly.\n\n### ❓ 3. MCQ Generation and Quiz Mode\n- BoB uses OpenHermes to generate **4-option MCQs** from any topic or document.\n- Telegram inline buttons allow **interactive quiz mode** with:\n  - Per-question feedback\n  - Final evaluation/score after all answers\n- Answers are validated with regex to ensure correctness extraction.\n\n### 🌍 4. External Resource Discovery\n- BoB finds **top relevant resources** for the user’s topic:\n  - 📺 YouTube tutorials\n  - 📖 Blog posts or academic notes\n  - 📄 Research articles or books\n- Each resource includes a title, short description, and link.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufahmed9%2Fbob-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusufahmed9%2Fbob-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufahmed9%2Fbob-bot/lists"}