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

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

说明与用途

Dispute Defender 是一款本地 AI,自动收集证据并撰写争议回复,确保每个句子都引用特定事实。它使用 Gemma 3 4B 通过 Ollama,验证每条陈述并在不添加新词的情况下修复错误。

问题

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.

结果

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.

工作流

  • 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

证据

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

来源

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

来源

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

来源

  • 记录日期: 2026-10-18T19:56:23.112Z