cleanup: 删除旧的 rag/reranker.py
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m52s
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 6m52s
- rag/reranker.py 是旧代码,不再使用 - 现在使用 model_services/rerank_services.py 提供重排服务 - pipeline.py 已经通过 get_rerank_service() 使用服务层
This commit is contained in:
@@ -271,7 +271,7 @@ class TemplateManager:
|
||||
name: 模板名称
|
||||
|
||||
Returns:
|
||||
模板对象,如果不存在返回 None
|
||||
模板对象,如果不存在返回 None
|
||||
"""
|
||||
return self._templates.get(name)
|
||||
|
||||
@@ -479,3 +479,7 @@ class OutputRenderer:
|
||||
格式化后的字符串
|
||||
"""
|
||||
return self.markdown.format(data)
|
||||
"""
|
||||
格式化后的字符串
|
||||
"""
|
||||
return str(data)
|
||||
|
||||
Reference in New Issue
Block a user