Integration of sentence-transformer local text embedding

This commit is contained in:
liyaxing
2023-09-25 17:26:06 +08:00
committed by tsukasa
parent fe4d079d7a
commit 22ef7f0f18
3 changed files with 29 additions and 11 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class KnowledgeEmailSource:
for uid in email_list:
_uid = int.from_bytes(uid)
if _uid > latest_uid:
email_dir = self.check_email_saved(uid)
email_dir = self.check_email_saved(uid)
if email_dir is not None:
logging.info(f"email uid {uid} already saved")
else: