Documentation
¶
Overview ¶
Package dedup implements rolling-window deduplication. Skips near-duplicate memories within a configurable time window. Based on Engram's SHA-256 dedup with 15-minute rolling window and agentmemory's 5-minute dedup window.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
Window tracks recent content hashes to skip near-duplicates.
func (*Window) IsDuplicate ¶
IsDuplicate returns true if content was seen within the rolling window. If not a duplicate, records it for future checks.
Click to show internal directories.
Click to hide internal directories.