Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
fix: prevent infinite recursion in dedup_triplets function
KaifAhmad1a1b85e0ff872
diff --git a/semantica/deduplication/methods.py b/semantica/deduplication/methods.pyindex edba7fba..e51a1d23 100644--- a/semantica/deduplication/methods.py+++ b/semantica/deduplication/methods.py@@ -282,9 +282,9 @@ def dedup_triplets(List of duplicate relationship piars (rel1, rel2)."""+ # Check for custom method in registry (but not ourself)custom_method = method_registry.get("detection", "triplets")-- if custom_method:+ if custom_method and custom_method.__name__ != "dedup_triplets":return custom_method(relationships, mode=mode, threshold=threshold, **kwargs)detector = DuplicateDetector(**kwargs)