[fix]Remove the LLM (#45)

This commit is contained in:
乐力齐
2026-01-07 13:57:47 +08:00
committed by GitHub
parent 5040c603ff
commit 1083698a1f
3 changed files with 1 additions and 3 deletions

View File

@@ -25,7 +25,6 @@ class DataConfig(Base):
llm_id = Column(String, nullable=True, comment="LLM模型配置ID") llm_id = Column(String, nullable=True, comment="LLM模型配置ID")
embedding_id = Column(String, nullable=True, comment="嵌入模型配置ID") embedding_id = Column(String, nullable=True, comment="嵌入模型配置ID")
rerank_id = Column(String, nullable=True, comment="重排序模型配置ID") rerank_id = Column(String, nullable=True, comment="重排序模型配置ID")
llm = Column(String, nullable=True, comment="LLM模型配置ID")
# 记忆萃取引擎配置 # 记忆萃取引擎配置
enable_llm_dedup_blockwise = Column(Boolean, default=True, comment="启用LLM决策去重") enable_llm_dedup_blockwise = Column(Boolean, default=True, comment="启用LLM决策去重")

View File

@@ -327,7 +327,7 @@ class DataConfigRepository:
# 更新字段映射 # 更新字段映射
field_mapping = { field_mapping = {
# 模型选择 # 模型选择
"llm_id": "llm", "llm_id": "llm_id",
"embedding_id": "embedding_id", "embedding_id": "embedding_id",
"rerank_id": "rerank_id", "rerank_id": "rerank_id",
# 记忆萃取引擎 # 记忆萃取引擎

View File

@@ -185,7 +185,6 @@ class DataConfigService: # 数据配置服务类PostgreSQL
"llm_id": config.llm_id, "llm_id": config.llm_id,
"embedding_id": config.embedding_id, "embedding_id": config.embedding_id,
"rerank_id": config.rerank_id, "rerank_id": config.rerank_id,
"llm": config.llm,
"enable_llm_dedup_blockwise": config.enable_llm_dedup_blockwise, "enable_llm_dedup_blockwise": config.enable_llm_dedup_blockwise,
"enable_llm_disambiguation": config.enable_llm_disambiguation, "enable_llm_disambiguation": config.enable_llm_disambiguation,
"deep_retrieval": config.deep_retrieval, "deep_retrieval": config.deep_retrieval,