Urgent.News

What's breaking now, across thousands of outlets.

Tech

How I built memory that stops repeating itself: dedup at 0.85, conflicts flagged, nothing deleted

My desktop companion remembers things about me. That is the whole point of it — until it remembers the same thing twice, and then remembers the opposite of it, and then confidently asserts whichever one it read last. That is the failure mode I fixed in Ankita v2.7.5. The problem was not that the memory store lost facts. It was that it never questioned them. Every new fact went in as a new row, so…

Ankita v2.7.5, the desktop companion, now remembers things more accurately by preventing it from remembering the same fact twice. The issue was that the memory store never questioned the facts, storing each new fact as a separate row and leading to duplicate entries. The solution implemented is a deduplication system with two layers of comparison.

The lexical fallback ensures memory quality is not dependent on a provider being configured. When a new fact is near-identical to an existing fact, it updates that fact instead of creating a duplicate. If the facts disagree, they are kept as conflicting entries and the companion is instructed to ask which is current rather than asserting either.

The new rule is that a new fact is compared against what is already stored before being written, with a similarity threshold of 0.85 for merging. The system also flags conflicts and does not delete or rewrite facts automatically, ensuring the memory remains a personal store for accurate recollections.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Cyberattack hits Belgian supermarket fridges and freezers

A major cyberattack on Belgian supermarket 40 Delhaize, Carrefour and Spa and other supermarket chain stores has taken place, with €100,000 worth of food thrown away.

  • Cyberattack targets refrigeration systems in Belgian supermarkets, causing €100k in food waste.
  • Delhaize, Carrefour, and Spar report stores affected by the attack.
  • Similar incident occurred in France last week, impacting Intermarché and Coopérative U supermarkets.

A Cancel Save Offer Is a Price Discovery Moment

When a subscriber clicks cancel, they are usually telling you something before they tell you goodbye. The reason they give — too expensive, not using it, need a break, moving to a competitor — is the…

  • Cancel save offer provides feedback for pricing and product improvements
  • Tailor offer to specific reason for cancelling, not blanket discount
  • Match offer to user's concern: price, break, or switching to alternative

Hallucination Is a Design Problem, Not a Model Problem

Most procurement conversations about hallucination open with the wrong question: which model hallucinates least? It is the wrong question because it treats a structural property as a vendor feature…

  • Hallucination stems from design, not model choice
  • Models trained to guess over uncertainty produce hallucinations
  • Abstaining when uncertain fixes design issue

Self-hosted live updates for Capacitor with Codemagic Patch

Codemagic Patch is a new self-hosted tool to ship live updates of HTML, CSS, and JavaScript to Capacitor, Ionic, and Cordova-on-Capacitor apps, without a new store binary.

  • Codemagic Patch enables live updates in Capacitor apps without new binaries.
  • Supports HTML, CSS, and JavaScript updates in WebView.
  • Provides alternative to Appflow Live Updates before sunset.

More from Monday 2 November →