Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Local lead scorer: rank Google Maps leads with Gemma on your own machine

Описание и применение

Инструмент локально ранжирует бизнес‑лиды из Google Maps, используя Gemma 3 в Ollama, чтобы быстро определить наиболее подходящие контакты для холодных рассылок.

Задача

Freelancers and small agencies need to prioritize large scraped Google Maps lead lists before sending cold outreach emails, but manually reviewing hundreds of rows is expensive and time‑consuming.

Результат

On a 4‑core CPU, Gemma 3:4b scored eight fake leads in 125 s, producing a ranked CSV and Markdown summary. The heuristic fallback ensured a score for every lead, even closed businesses.

Рабочий процесс

  • 1. Run the Python script with the offer text and input file or trigger an Apify Actor run.
  • 2. The script fetches leads via the Apify API or loads a local export.
  • 3. For each lead, the script sends a prompt to a local Gemma 3 model via Ollama’s /api/chat with JSON format and temperature 0.
  • 4. The model returns a JSON object with score, reason, and channel; the script parses and validates it.
  • 5. If parsing fails, a deterministic heuristic score is computed and marked as fallback.
  • 6. Results are written to out/score.csv and out/summary.md.
  • 7. The user reviews the ranked list and selects leads to email.

Доказательства

A small command-line tool that turns a pile of Google Maps business leads into a ranked call list for one specific offer, using an open-weight model that runs locally.

Источник

If no model is running it falls back to a deterministic heuristic, so it always produces a ranking.

Источник

The request uses Ollama's /api/chat with format: json and temperature: 0, so the model has to answer with one JSON object.

Источник

The heuristic is boring on purpose: 30 base points, +20 for an e-mail (+10 if the Actor graded it high, -10 for low), +5 each for phone, contact form and website, +10 for 4.0+ stars with 50+ reviews, -10 for fewer than 5 reviews, +15 to +25 when words from your offer match the business category, 0 if the business is closed.

Источник

  • Дата записи: 2026-10-16T04:41:26.767Z