删除threshold

pull/1249/head
UnCLAS-Prommer 2025-09-20 10:52:08 +08:00
parent 43edcf6b7e
commit 64979332af
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@ class SearchKnowledgeFromLPMMTool(BaseTool):
description = "从知识库中搜索相关信息,如果你需要知识,就使用这个工具"
parameters = [
("query", ToolParamType.STRING, "搜索查询关键词", True, None),
("threshold", ToolParamType.FLOAT, "相似度阈值0.0到1.0之间", False, None),
]
available_for_llm = global_config.lpmm_knowledge.enable