perf(cache): 修复缓存失效 Bug + 集成语义缓存 + 删除 AgenticRAG 死代码
- fix: Query Cache GET/SET Key 不匹配导致命中率始终为 0% - fix: CACHE_MIN_SCORE 阈值 0.3 对 ChromaDB cosine distance 过于严格 - feat: 在 /rag 端点集成语义缓存(命中时跳过检索+生成,92x 加速) - refactor: 删除 AgenticRAG 死代码路径(10 个 agentic_*.py,约 1950 行) - cleanup: 移除 engine.py 死方法、路由死函数、初始化死代码
This commit is contained in:
@@ -3,7 +3,6 @@ RAG 核心引擎模块
|
||||
|
||||
包含:
|
||||
- engine: RAGEngine 单例类,管理模型和共享资源
|
||||
- agentic: AgenticRAG 智能问答
|
||||
- bm25_index: BM25 关键词检索索引
|
||||
- chunker: 文本分块器
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user