Skip to content

Commit

Permalink
🚧 fix(wip): testing 0.99 distance dupe filter
Browse files Browse the repository at this point in the history
  • Loading branch information
mxchinegod committed Mar 26, 2024
1 parent 2445e4f commit b4f1472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magnet/ize/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,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 == 1 else False
return True if match and match[0] and match[0][0].distance == 0.99 else False

0 comments on commit b4f1472

Please sign in to comment.