Skip to content

Commit 9c5d9fb

Browse files
Wang-Daojiyuan.wang
andauthored
Feat/pref optimize update (#429)
* add hybrid search and fine extractor * add dialog and modify spliter chunk * optmize the update and retriever code * modify pref field * add pref mem update srategy * add pref mem update srategy * fix bug in pre_commit * modify pref filed * fix bug * fix pre_commit * fix bug in adder * fast --------- Co-authored-by: yuan.wang <[email protected]>
1 parent af89531 commit 9c5d9fb

File tree

1 file changed

+1
-1
lines changed
  • src/memos/memories/textual/prefer_text_memory

1 file changed

+1
-1
lines changed

src/memos/memories/textual/prefer_text_memory/adder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def _process_single_memory(self, memory: TextualMemoryItem) -> list[str] | str |
326326
search_results.sort(key=lambda x: x.score, reverse=True)
327327

328328
return self._update_memory(
329-
memory, search_results, collection_name, preference_type, update_mode="fine"
329+
memory, search_results, collection_name, preference_type, update_mode="fast"
330330
)
331331

332332
except Exception as e:

0 commit comments

Comments
 (0)