|
@@ -28,8 +28,8 @@ class FileSearchToolInput(BaseModel):
|
|
|
class FileSearchTool(BaseTool):
|
|
|
name: str = "file_search"
|
|
|
description: str = (
|
|
|
- "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."
|
|
|
+ "Can be used to search through content of files uploaded by the user."
|
|
|
+ + "If the user references specific file content (e.g., 'in my uploaded document...'), this function should be triggered."
|
|
|
+ "Singleton operation: Strictly 1 invocation per API call"
|
|
|
)
|
|
|
args_schema: Type[BaseModel] = FileSearchToolInput
|