jack пре 1 недеља
родитељ
комит
b2dce752b0
1 измењених фајлова са 3 додато и 6 уклоњено
  1. 3 6
      app/core/tools/file_search_tool.py

+ 3 - 6
app/core/tools/file_search_tool.py

@@ -27,12 +27,9 @@ class FileSearchToolInput(BaseModel):
 class FileSearchTool(BaseTool):
     name: str = "file_search"
     description: str = (
-        "When a user requests specific knowledge, document content, or related information, the retrieval function should be invoked. This includes:"
-        + "- User explicitly asking to find or retrieve certain information"
-        + "- User inquiring about specific content in the knowledge base or uploaded files"
-        + "- User questions involving specialized/domain-specific knowledge likely stored in the knowledge base"
-        + "- User queries requiring access to complete documents or large datasets for accurate answers"
-        + "Singleton operation: Strictly 1 invocation per API call. "
+        "Can be used to look up knowledge base or files information that was uploaded to this assistant."
+        + "If the user is retrieve specified content from the knowledge base or file system, that is often a good hint that information may be here."
+        + "Singleton operation: Strictly 1 invocation per API call"
     )
     args_schema: Type[BaseModel] = FileSearchToolInput