jack 4 周之前
父节点
当前提交
1c47ad2980
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      app/core/tools/file_search_tool.py

+ 1 - 6
app/core/tools/file_search_tool.py

@@ -27,12 +27,7 @@ class FileSearchToolInput(BaseModel):
 class FileSearchTool(BaseTool):
     name: str = "file_search"
     description: str = (
-        "This tool is triggered when the question involves the following situations:"
-        + "1. Asking for content in files/documents"
-        + "2. Need to find data, terms, or technical details"
-        + "3. The user requests 'search files' or 'search materials' or 'file content'"
-        + "4. Any other request that involves querying or extracting information from uploaded files"
-        "Useful for answering questions related to documents, data analysis, specific file content, or file content."
+        "Useful for answering questions related to documents, data analysis, specific file content, upload file content or file content."
     )
 
     args_schema: Type[BaseModel] = FileSearchToolInput