{
  "id": 21364543,
  "title": "I let an LLM write chargeback responses, but only by copying sentences it was given",
  "url": "https://urgent.news/2026/11/23/i-let-an-llm-write-chargeback-responses-but-only-by-copying-sentences",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-23T07:58:03.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/muhammad_aamirkhan_d7ba4/i-let-an-llm-write-chargeback-responses-but-only-by-copying-sentences-it-was-given-2l7e"
  },
  "original_language": "en",
  "account": "RebutCase is a Shopify app that assists merchants in responding to chargebacks. When a customer disputes a payment, the bank examines the provided evidence. If any date or amount in the dispute is inaccurate, the merchant provided false information to the bank. From the beginning, the strict rule has been that each sentence transmitted to the bank must reference a specific piece of evidence.\n\nTo achieve this, the pipeline collects data from Shopify and merchant uploads. The data is normalized, key-value pairs are created, and they are sourced. The system then assesses the case strength (Strong, Fair, Weak), determines the claim type, generates a draft response using an LLM, and finally verifies that every sentence in the draft is correctly linked to a claim or exhibit. The verification process ensures that each sentence mentions at least one known claim or exhibit, contains only facts present in the original evidence, and excludes certain disallowed phrases. If the draft fails verification or the model times out, the app resorts to pre-written templates based on the claims. The LLM's involvement in the process is restricted, and the app remains fully functional without the LLM. Merchants can still edit the response, and the app checks these edits sentence by sentence. The app does not submit evidence or overwrite pre-filled Shopify fields without displaying the differences. It also does not provide win probability estimates. The app's codebase is available on Shopify's App Store and includes free resources on Shopify's dispute evidence API.",
  "summary": "I'm building RebutCase, a Shopify app that helps merchants answer chargebacks. When a customer disputes a payment, the merchant gets a deadline and a set of evidence fields. Someone at the cardholder's bank reads what they send. If a single date or amount in it is wrong, the merchant has sent the bank something false. So the hard rule from day one was: every sentence that goes to the bank must…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}