feat: 删除加载时的嵌入模型一致性检验,仅保留插入数据时的校验

pull/1050/head
墨梓柒 2025-06-16 20:43:07 +08:00
parent 68537627e3
commit 407a19c021
No known key found for this signature in database
GPG Key ID: 4A65B9DBA35F7635
1 changed files with 0 additions and 2 deletions

View File

@ -342,8 +342,6 @@ class EmbeddingManager:
def load_from_file(self):
"""从文件加载"""
if not self.check_all_embedding_model_consistency():
raise Exception("嵌入模型与本地存储不一致,请检查模型设置或清空嵌入库后重试。")
self.paragraphs_embedding_store.load_from_file()
self.entities_embedding_store.load_from_file()
self.relation_embedding_store.load_from_file()