Skip to content

Commit fa2d3e6

Browse files
committed
feat: slightly adjust similarity threshold for returned memories
1 parent 2533187 commit fa2d3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memos/mem_os/product.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ def run_async_in_thread():
693693
thread.start()
694694

695695
def _filter_memories_by_threshold(
696-
self, memories: list[TextualMemoryItem], threshold: float = 0.50, min_num: int = 3
696+
self, memories: list[TextualMemoryItem], threshold: float = 0.52, min_num: int = 0
697697
) -> list[TextualMemoryItem]:
698698
"""
699699
Filter memories by threshold.

0 commit comments

Comments
 (0)