Availazy: Gemma 4 E2B turns a week of volunteer chat messages into an availability sheet
- Hardware
- An 8 GB Apple M2 laptop
- Models & engines
- Gemma 4 E2B (gemma4:e2b-it-qat) in Ollama, about a 4.3 GB download and about 1.6 GB of memory once loaded
- Key gotcha
- Gemma missed Maria's Thursday cancellation completely; only the keyword reader caught it, which is the argument for running two readers.
What they built
Availazy is for the person who asks a volunteer group "when can you help?" and then has to make sense of fifty replies, corrections and maybes. You paste dated chat messages (or a WhatsApp text export) and the volunteer list, pick a week, and it suggests availability records, each shown beside the message it came from with the quoted words highlighted.
It keeps each person's history day by day, so a correction replaces an earlier answer, a cancellation removes it, and a conditional "maybe" stays a maybe until confirmed. Anything the words don't settle, like "next Tuesday" sent on a Monday or a name that matches nobody, goes on a Needs a decision list. The final sheet only contains what the coordinator accepted.
The test data is a fictional food pantry with 18 volunteers and 50 invented messages, so no real chats were used. In the local app, messages only go to Ollama on 127.0.0.1.
Setup
- Gemma 4 E2B (gemma4:e2b-it-qat) in Ollama, about a 4.3 GB download and about 1.6 GB of memory once loaded
- An 8 GB Apple M2 laptop
- A Python standard-library server with plain HTML, CSS and JS, no framework or CDN
- Optional, off-by-default Sentry tracing that excludes message text
- MIT-licensed code on GitHub with 128 unit tests
How it works
- For each message, Gemma fills a JSON schema enforced by Ollama with only the copied words: the day text, time text, a proposed status and an excerpt, with no dates or hours.
- A plain keyword reader reads every message alongside the model as a second opinion, and adds flagged suggestions when it sees something the model missed, such as a cancellation.
- Python works out who, which date and which hours, checks that the quoted words really exist in the message, and decides what each new answer replaces. Fixed windows like morning 09:00 to 12:00 are written in code, and assumptions are shown on the card.
- The coordinator accepts, rejects or edits each suggestion; the export says complete only when everything is reviewed, otherwise provisional.
Results & numbers
- On the fictional week, 50 messages produced 67 suggestions: 36 could be accepted with one click and 31 were left for a real decision, with 10 items on the decision list.
- Gemma plus the rules read the whole week in 131 seconds on the 8 GB M2 (one dated run, not a benchmark).
- On a test week written by a separate ChatGPT session and scored once, Gemma plus rules got 17 of 20 person-days right and halved missed cancellations compared with either reader alone (2 of 8 versus 4 of 8).
Gotchas
- Gemma missed Maria's Thursday cancellation completely; only the keyword reader caught it, which is the argument for running two readers.
- Gemma filed one volunteer's offer under a different volunteer, a wrong answer that looked reasonable. The app now warns when a suggestion is for someone other than the sender.
- Rules alone actually beat Gemma alone on sheet agreement (0.433 versus 0.403), and every later fix went into Python rather than the prompt.
- In one traced run, four model calls hit the 300-second client timeout waiting for Ollama.
- It has only seen fictional messages, handles up to 20 volunteers, and saves nothing between sessions.
“A hosted API might be smarter. But the right answer to "where do my volunteers' messages go?" should be "nowhere".”— Bipul Chamoli
Do it yourself
- Install Ollama and pull a small model such as gemma4:e2b-it-qat.
- Define a strict JSON schema that only asks the model to copy words (day text, time text, status, excerpt) and pass it as Ollama's structured output format.
- Write a simple keyword reader for cancellations, replacements and conditions, and run it on every message beside the model.
- In code, resolve the copied day words against the message's send date and map words like morning or afternoon to fixed time windows.
- Check that each quoted excerpt actually appears in the message, and flag or drop suggestions that don't.
- Show every suggestion next to its source message, and only export what a person has accepted.
DEFAULT_PERIODS = {
"morning": ("09:00", "12:00"),
"afternoon": ("13:00", "17:00"),
"evening": ("17:00", "20:00"),
}Similar setups
rip: a local Gemma 2 2B writes epitaphs and revival ideas for your abandoned side projects
A Hacktoberfest CLI scans your folders for dormant projects and has Gemma 2 2B on Ollama write a witty obituary and a suggestion to revive each one, sending only metadata, never code.
Receipt Box: Gemma 3 4B in Ollama sorts a freelancer's receipts and VAT on the laptop
E. Smith built Receipt Box, a receipt and invoice sorter for freelancers where Gemma 3 4B with vision, running in Ollama on the user's own machine, reads vendor, date, total, VAT, currency and category from photos and PDFs.
Morning Digest: a local Gemma 3 agent that summarizes overnight Telegram group chats
Waleed Shamhan, a student in Yemen, built Morning Digest, a single Python script that reads a Telegram Desktop export and uses Gemma 3 via Ollama to write a short Arabic digest of the last 12 hours of group chats.
FollowUp Local: Gemma 3 on a laptop explains why a sales chat went quiet
FollowUp Local is a one-file Python tool for people who sell through chat: paste a customer conversation and Gemma 3 via Ollama names the stage it stalled at, the real concern, a quoted line of evidence and a draft follow-up.