jack 3 veckor sedan
förälder
incheckning
77e507c9ef
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      app/core/tools/file_search_tool.py
  2. 2 2
      app/core/tools/knowledge_search_tool.py

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

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

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

@@ -28,8 +28,8 @@ class KnowledgeSearchToolInput(BaseModel):
 class KnowledgeSearchTool(BaseTool):
     name: str = "knowledge_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 look up information from the assistant's structured knowledge base."
+        + "If the user requests specific content explicitly labeled as part of the knowledge base, this function should be invoked."
         + "Singleton operation: Strictly 1 invocation per API call"
     )
     args_schema: Type[BaseModel] = KnowledgeSearchToolInput