jack 2 months ago
parent
commit
3aaaa94664
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/core/tools/file_search_tool.py

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

@@ -27,7 +27,9 @@ class FileSearchToolInput(BaseModel):
 class FileSearchTool(BaseTool):
     name: str = "file_search"
     description: str = (
-        "Can be used to retrieve specific content from uploaded files or the knowledge base. Use this when the user explicitly requests information from a file or references uploaded knowledge data. Strictly invoke ONCE per API call."
+        "Can be used to look up knowledge base or files content that was uploaded to this assistant."
+        + "If the user is retrieve specified content from the knowledge base or file content, that is often a good hint that information may be here."
+        + "Singleton operation: Strictly 1 invocation per API call"
     )
     args_schema: Type[BaseModel] = FileSearchToolInput