Deadline Extractor:以本地 AI 從羣組聊天提取作業期限
Deadline Extractor
Deadline Extractor 使用 Ollama 執行 Meta 的開放權重 Llama 3.2 3B,從匯出的羣組聊天中辨識作業要求、將口語日期換算為時間戳,並以更新後的期限取代舊期限。工具可輸出 .ics 日曆檔,並在本機離線處理資料;模型亦可透過設定切換為 Mistral 或 Gemma。
Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady
The Problem: As students, our class group chats are flooded with hundreds of messages daily: jokes, memes, discussions, and random chatter. Somewhere in that noise, a professor or class rep drops: "Submit DBMS assignment by Friday 5pm", followed 6 hours later by "Deadline extended to Sunday 8pm". We miss deadlines simply because we don't have the energy to manually scroll back through 500 messages every evening.
The Sloth Solution: Instead of manually tracking tasks, Deadline Extractor does the heavy lifting while you chill. You feed it an exported group chat, and it uses an open-weight local model to:
Separate real submission requirements from casual banter.
Anchor colloquial dates ("Monday", "tomorrow by midnight") to exact timestamps.
Detect deadline updates/extensions and overwrite earlier ones.
Export everything into a .ics calendar file ready for Google Calendar, Apple Calendar, or Outlook.
Why Does Open Innovation Matter?
Zero Data Leaves Your Machine: Group chats contain deeply private conversations, student banters, and personal contact info. Sending this data to proprietary cloud APIs is a privacy violation. Running open weights via Ollama keeps 100% of the data on your laptop.
100% Free & Offline: A student on a train or in a hostel with poor internet can still extract their syllabus and deadlines without paying for API subscriptions.
Open Weight Flexibility: Powered by Meta's open llama3.2:3b, swappable for Mistral or Gemma with a single configuration flag.
Tech Stack:
AI Engine: Llama 3.2 3B via Ollama
Backend: Python, dateparser, ics
Frontend: Streamlit & CLI
Demo
Demo Video Youtube Link:
Code
Git Hub Link:
🦥 Deadline Extractor
Stop scrolling through 500 messages. Let the sloth do it.
😩 The Problem
Every student knows the pain. Your class WhatsApp group has 500+ unread messages, and somewhere in the avalanche of memes, random polls, and "who has the notes?" threads, the class rep posted an assignment deadline — three days ago. You only find out when your friend casually asks, "Did you submit the compiler design assignment?" and your stomach drops. That dreaded "Wait, THAT was due today?!" moment hits different at 11:47 PM.
Class reps shouldn't have to be human reminder bots. Students shouldn't have to archaeologically dig through chat histories to find what's due. There has to be a better way.
💡 The Solution
Deadline Extractor takes your exported chat file, runs it through a local open-weight AI model, and produces:
- 📋 A clean, sorted table of all assignment deadlines
- 📅 An…
來源:DEV Community · dev.to