MCPcopy Create free account
hub / github.com/diillson/chatcli / Forget

Method Forget

cli/workspace/memory/vector_store.go:130–135  ·  view source on GitHub ↗

Forget removes facts' vectors. Called by the compactor when a fact is archived so we never serve a cosine match against a deleted note.

(factIDs ...string)

Source from the content-addressed store, hash-verified

128// Forget removes facts' vectors. Called by the compactor when a fact is archived
129// so we never serve a cosine match against a deleted note.
130func (v *VectorIndex) Forget(factIDs ...string) {
131 if v == nil {
132 return
133 }
134 v.idx.Forget(factIDs...)
135}

Callers 1

Calls 1

ForgetMethod · 0.65

Tested by 1