Home / use case

FollowUp Local: Gemma 3 on a laptop explains why a sales chat went quiet

At a glance
Hardware
Tested on a CPU-only machine with 8 vCPUs and no GPU
Models & engines
Ollama with gemma3:4b (default) or gemma3:1b via FOLLOWUP_MODEL
Key gotcha
The 4B model sometimes claimed actions that hadn't happened, such as having sent a photo.

What they built

FollowUp Local is aimed at solo sellers who take orders over chat, such as a candle maker on Instagram DMs, a bike mechanic on WhatsApp or a tutor on WeChat. You paste the conversation and a Gemma model on your own machine returns where the customer is stuck (one of eight stages such as waiting_on_someone_else or price_hesitation), the real concern behind their words, one quoted line of evidence, and the next message to send and when.

The author built it local because chat logs hold customers' names, budgets and family situations, and because local inference makes each analysis free to run. It also handles Chinese chats and drafts replies in Chinese. It never sends anything itself; it writes a draft for a person to read.

Setup

  • Ollama with gemma3:4b (default) or gemma3:1b via FOLLOWUP_MODEL
  • One Python 3.9+ file using only the standard library
  • CLI or a local web UI on port 8765
  • Tested on a CPU-only machine with 8 vCPUs and no GPU

How it works

  1. Ollama's format field gets a JSON schema with six fields and an enum of the eight stages, so the model can't invent a stage.
  2. One short worked example chat with its ideal answer is included in the prompt.
  3. A keyword pass over the customer's lines (for example "check with" or "think about it") passes stage hints to the model, which can still disagree.
  4. If the quoted evidence isn't actually in the chat, it is replaced with the last real customer line.
  5. The prompt tells the model to mention only prices and services the seller already stated and to avoid fake urgency or new discounts.

Results & numbers

  • gemma3:1b took about 6 to 9 seconds per chat but often labelled everything asking_questions; gemma3:4b took about 15 to 24 seconds and picked sensible stages.
  • With keyword hints, the 1B model went from always answering asking_questions to usually picking the right stage.
  • In the demo on a CPU-only box, gemma3:4b answered in about 19 seconds.

Gotchas

  • The 4B model sometimes claimed actions that hadn't happened, such as having sent a photo.
  • It sometimes added comparisons the seller never made.
  • In Chinese it once wrote "your dad" where it meant the child's father, which is why there is no send button.
“Small models paraphrase, and a made-up quote is worse than none.”— dongwei-polyred

Do it yourself

  1. Install Ollama and run ollama pull gemma3:4b.
  2. Clone github.com/dongwei-polyred/followup-local.
  3. Run python3 followup.py samples/candle_shop_sample.txt to try the CLI on a sample chat.
  4. Run python3 followup.py --serve and open the web UI on port 8765.
  5. Paste a real customer chat, then read and edit the draft before sending it yourself.
ollama pull gemma3:4b
python3 followup.py samples/candle_shop_sample.txt
python3 followup.py --serve
Source: dongwei-polyred (DEV Community) · Published 2026-10-15 · Added 2026-10-25. This write-up summarizes the original source; see it for full details.

Similar setups

Local AI: a one-click Windows app that picks a model for your PC and sets up Ollama for friends

Tired of setting up local LLMs for friends, a developer built a free MIT-licensed Windows app that detects your GPU and RAM, installs Ollama without admin rights, pulls a fitting model and opens a private chat.

Oleg Che (DEV Community) · 2026-11-04

Haunted Haiku: a local Gemma 3 poet that also designs the card

E. Smith built a small Dash app where a local Gemma 3 in Ollama writes an eerie haiku and picks its colours and emoji in one JSON reply, so the poem and its picture work with Wi-Fi off.

E. Smith (DEV Community) · 2026-10-30

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.

E. Smith (DEV Community) · 2026-10-28

Availazy: Gemma 4 E2B turns a week of volunteer chat messages into an availability sheet

Bipul Chamoli built Availazy, a local review tool where Gemma 4 E2B in Ollama copies the availability words from volunteer chat messages, plain Python works out the dates, and the coordinator accepts or rejects each suggestion.

Bipul Chamoli (DEV Community) · 2026-10-26