jack 1 vecka sedan
förälder
incheckning
7cb6076d27
1 ändrade filer med 4 tillägg och 6 borttagningar
  1. 4 6
      app/core/tools/file_search_tool.py

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

@@ -27,12 +27,10 @@ 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:\n"
-        + "- User explicitly asking to find or retrieve certain information\n"
-        + "- User inquiring about specific content in the knowledge base or uploaded files\n"
-        + "- User questions involving specialized/domain-specific knowledge likely stored in the knowledge base\n"
-        + "- User queries requiring access to complete documents or large datasets for accurate answers\n"
-        + "Note: Singleton operation: Strictly 1 invocation per API call. Retrieval results should be used directly to answer the user's question without explaining the retrieval process.\n"
+        "Can be used to look up knowledge base information that was uploaded to this assistant.\n"
+        + "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.\n"
+        + "Retrieve content from files or knowledge base (similar to database lookup, document search, or information fetching) \n"
+        + "Singleton operation: Strictly 1 invocation per API call"
     )
     args_schema: Type[BaseModel] = FileSearchToolInput