fix;调整概率和Log、

This commit is contained in:
SengokuCola
2025-06-14 21:55:16 +08:00
parent 751a46da7b
commit 30f2eac278
5 changed files with 27 additions and 143 deletions

View File

@@ -267,7 +267,7 @@ class EmbeddingStore:
result: 最相似的k个项的(hash, 余弦相似度)列表
"""
if self.faiss_index is None:
logger.warning("FaissIndex尚未构建,返回None")
logger.debug("FaissIndex尚未构建,返回None")
return None
if self.idx2hash is None:
logger.warning("idx2hash尚未构建,返回None")