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

🛡️ Dispute Defender: a local AI that has to cite its evidence

Description and use

Dispute Defender is a local AI that automatically gathers evidence and drafts a dispute reply where every clause cites a specific fact. It uses Gemma 3 4B via Ollama, verifies each statement, and repairs errors without adding new words.

Problem

Small marketplace sellers need to respond quickly to disputes with scattered evidence and limited resources, but drafting a compliant reply that cites every fact is tedious and error‑prone.

Outcome

In 30 synthetic cases, 92% of first‑draft replies were clean with a single run, and 94% with three runs. The system reliably cites evidence, drops unsupported text, and repairs minor errors without adding new words.

Workflow

  • Provide case folder with dispute notice, order CSV, messages, photos
  • Extract numbered evidence (E1, E2, …)
  • Triage evidence to identify missing items
  • Use Gemma 3 4B via Ollama to draft reply
  • Verify each clause against cited evidence
  • Retry once if needed
  • Repair unsupported clauses without adding words
  • Drop remaining unsupported clauses
  • Output final letter, evidence list, and repairs

Evidence

Dispute Defender builds the evidence list, drafts the letter with a local Gemma model, then checks each clause against only the evidence it cites.

Source

The verifier checks each clause against only the evidence it cites.

Source

Python standard library only (nothing to install), 163 tests, MIT license.

Source

  • Record date: 2026-10-18T19:56:23.112Z