jack 1 тиждень тому
батько
коміт
895ca0afe1
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      app/core/tools/file_search_tool.py

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

@@ -20,14 +20,14 @@ from app.services.assistant.assistant import AssistantService
 # query: str = Field(..., description="query to look up in retrieval")
 class FileSearchToolInput(BaseModel):
     query: str = Field(
-        description="The exact content or keywords to search for in the files/knowledge base.",
+        description="query to look up in retrieval",
     )
 
 
 class FileSearchTool(BaseTool):
     name: str = "file_search"
     description: str = (
-        "Retrieve specific content from uploaded files or the knowledge base. Use this when the user explicitly requests information from a file (e.g., PDF, Excel) or references uploaded data. Strictly invoke ONCE per API call."
+        "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."
     )
     args_schema: Type[BaseModel] = FileSearchToolInput