jack 1 month ago
parent
commit
ca3a1c940e
1 changed files with 5 additions and 4 deletions
  1. 5 4
      app/core/tools/file_search_tool.py

+ 5 - 4
app/core/tools/file_search_tool.py

@@ -28,10 +28,11 @@ class FileSearchTool(BaseTool):
     name: str = "file_search"
     description: str = (
         "This tool must be called when the question involves the following situations:"
-        + "   - Asking for specific content in files/documents"
-        + "   - Need to find data, terms, or technical details"
-        + '   - The user explicitly requests "search files" or "search materials"'
-        "Retrieves content from specified files based on the keywords or phrases requested above, returning matching text snippets."
+        + " - Asking for specific content in files/documents"
+        + " - Need to find data, terms, or technical details"
+        + ' - The user explicitly requests "search files" or "search materials"'
+        "Useful for when you need to answer questions about current events. "
+        "Input should be a search query."
     )
 
     args_schema: Type[BaseModel] = FileSearchToolInput