feat: 知识库小重构x2

This commit is contained in:
墨梓柒
2025-06-07 13:46:24 +08:00
parent 0038d9ff60
commit ab2b7ec9ed
9 changed files with 27 additions and 27 deletions

View File

@@ -8,7 +8,7 @@ from .embedding_store import EmbeddingManager
from .llm_client import LLMClient
from .kg_manager import KGManager
from .lpmmconfig import global_config
from src.chat.knowledge.utils import dyn_select_top_k
from .utils.dyn_topk import dyn_select_top_k
MAX_KNOWLEDGE_LENGTH = 10000 # 最大知识长度