diff --git a/magnet/ize/memory.py b/magnet/ize/memory.py index 314ab29..98c3e44 100644 --- a/magnet/ize/memory.py +++ b/magnet/ize/memory.py @@ -127,4 +127,4 @@ async def is_dupe(self, q: str = None): output_fields=['text', 'document'], limit=1 ) - return True if match and match[0] and match[0][0].distance >= 0.99 else False \ No newline at end of file + return True if match and match[0] and match[0][0].distance == 1 else False \ No newline at end of file