Skip to main content

Module dedup

Module dedup 

Source
Expand description

Node deduplication: prevent duplicate nodes by title within a time window.

Functions§

find_duplicate
Find a node with the given title updated within window_hours.
upsert_node_dedup
Write with deduplication. If a node with the same title was written within window_hours, return the existing ID instead. Otherwise, insert and return the new ID.