|
@@ -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
|