MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / clear

Method clear

src/knowledge/graph.py:83–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 return sorted(self.entities.values(), key=lambda e: (-e.count, -e.last_seen, e.name))[:limit]
82
83 def clear(self) -> None:
84 self.entities.clear()
85
86 # — persistence —
87 def to_dict(self) -> dict:

Callers 1

test_clearFunction · 0.95

Calls

no outgoing calls

Tested by 1

test_clearFunction · 0.76