jack 7 時間 前
コミット
c485aac624
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/core/tools/file_search_tool.py

+ 2 - 2
app/core/tools/file_search_tool.py

@@ -28,9 +28,9 @@ class FileSearchToolInput(BaseModel):
 class FileSearchTool(BaseTool):
     name: str = "file_search"
     description: str = (
-        # "Can be used to search through content of files uploaded by the user."
-        "Use this function to search through the content of files uploaded by the user. "
+        "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."
+        + "If the user has uploaded files in multiple batches, and their request is ambiguous (e.g. 'summarize the documents'), default to summarizing only the most recent batch of uploaded files. If the user's intent is to include older files, they should specify this explicitly."
         + "Singleton operation: Strictly 1 invocation per API call"
     )
     args_schema: Type[BaseModel] = FileSearchToolInput