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